GeeksforGeeks - RSS Feed

A computer science portal for geeks

Latest articles

Lexicographically smallest string formed by replacing characters according to the given relation

Given a string Str of N characters and two strings S1 and S2 of equal length where S1[i] and S2[i] are related to each other,… Read More The post Lexicographically smallest string formed by replacing characters according to the given relation appeared first on GeeksforGeeks.

Find the string among given strings represented using given encryption pattern

Given an array of strings arr[] of size N and an encrypted string str, the task is to find the correct string from the given… Read More The post Find the string among given strings represented using given encryption pattern appeared first on GeeksforGeeks.

Count all possible paths from source to destination in given 3D array

Given three integers M, N and K, the task is to count all the possible paths from the cell (0, 0, 0) to cell (M-1,… Read More The post Count all possible paths from source to destination in given 3D array appeared first on GeeksforGeeks.

Maximize product of two closest numbers of other array for every element in given array

Given arrays arr1[] of size M and arr2[] of size N having length at least 2, the task is for every element in arr1[], maximize… Read More The post Maximize product of two closest numbers of other array for every element in given array appeared first on GeeksforGeeks.

Maximize the minimum element of Array by reducing elements one by one

Given an array arr[] containing N integers. In each operation, a minimum integer is chosen from the array and deleted from the array after subtracting… Read More The post Maximize the minimum element of Array by reducing elements one by one appeared first on GeeksforGeeks.

Maximum count of 0s between two 1s in given range for Q queries | Set – 2

Given a binary string S of size N, and a 2D array Q[][] of queries consisting of M pairs of the form {L, R}, the… Read More The post Maximum count of 0s between two 1s in given range for Q queries | Set – 2 appeared first on GeeksforGeeks.

Lexicographically smallest string formed by concatenating any prefix and its mirrored form

Given a string str of N characters, the task is to find the lexicographically smallest string that can be formed by concatenating any prefix and… Read More The post Lexicographically smallest string formed by concatenating any prefix and its mirrored form appeared first on GeeksforGeeks.

Maximize count of unique elements in Array by changing elements to negative

Given array arr containing N integers. the task is to find the maximum number of unique elements in the array if each element in the… Read More The post Maximize count of unique elements in Array by changing elements to negative appeared first on GeeksforGeeks.

Minimize partitions in given string to get another string

Given two strings A and B, print the minimum number of slices required in A to get another string B. In case, if it is… Read More The post Minimize partitions in given string to get another string appeared first on GeeksforGeeks.

Top 10 Emerging Technology Trends to Watch in 2022

Knowing the latest technology trends is really important because it offers a helping hand to many organizations to upgrade their business processes in such a… Read More The post Top 10 Emerging Technology Trends to Watch in 2022 appeared first on GeeksforGeeks.

Discover, share and read the best on the web

Follow RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Follow RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!