Skip to content
Gblog GeeksforGeeks Job-A-Thon – Are You Ready For This Hiring Challenge?
Everyone will agree with this, especially college students or freshers, that to get connected with the recruiters and grab worthwhile job opportunities for getting into… Read More
Everyone will agree with this, especially college students or freshers, that to get connected with the recruiters and grab worthwhile job opportunities for getting into… Read More
Are you among the ones who want to learn Android App Development from the beginning? Are you someone who doesn’t have any idea about Android… Read More
Given three integers A, B, and C, the task is to find the minimum possible value of |A – X| + |B – Y| +… Read More
Given a Generic Tree consisting of N nodes valued from 0 to (N – 1) where P[i]th in the array P[] denotes ith nodes parent(1-based… Read More
Given two arrays A[] and B[] consisting of N positive integers, the task is to find the total number of subsets of indices such that… Read More
Given a binary string S of size N, the task is to check if the count of 1s can be made greater than the count… Read More
Given an array arr[] consisting of N integers and an integer K, the task is to find the minimum of operations required to make all… Read More
Given a circular array arr[] of N integers and two integer M and K, the task is to find the sum of array elements arr[]… Read More
Given a string S of size N consisting of digits and ?, the task is to find the number of strings formed such that replacing… Read More
Given two arrays arr[](1-based indexing) and queries[] consisting of N integers and queries[] contains a permutation of the first N natural numbers, the task is… Read More
Given a positive integer N and an array arr[] consisting of K integers and consider a binary string(say S) having N set bits, the task… Read More
Given three positive integers A, B, and K, the task is to find the Kth lexicographically smallest binary string that contains exactly A number of… Read More
Given an undirected graph G(V, E)  consisting of2 N vertices and M edges, the task is to find the smallest vertex in the connected component… Read More
Given an array of pairs arr[][] of length N, and an array queries[] of length M, and an integer R, where each query contains an… Read More
Given an array arr[] consisting of N strings where each string consists of ‘(‘ and ‘)’, the task is to check if a Regular Bracket… Read More
Given an array arr[] consisting of N pairs of items as {value, weight}, the task is to find the maximum sum of profit by choosing… Read More