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
Well, Cognizant has conducted an on-campus drive for all the premium colleges in India. All the students needed to fill in their details in the… Read More
Turbo C++ is a single language compiler and integrated development environment for C++. It is free of charge and can be downloaded from any website.… Read More
Given two strings str1 and str2 of same length N, the task is to check if there exists any permutation possible in any of the… Read More
Given an array of N integers the task is to select K elements out of these N elements in such a way that the minimum… Read More
Given an array arr, the task is to find the maximum sum of subsequence after flipping signs of at most K elements. Examples: Input: arr… Read More
Given an integer array arr[] of N integers, the task is to make each adjacent pair in the array co prime, by adding minimum number of… Read More
It’s time for the final exam in algorithms and data structures! Edsger prepared N sets of problems. Each set consists of problems in an increasing… Read More
Given an array arr[] consisting of N integers, the task is to find the minimum number of array elements that must be removed such that… Read More
Given an array A[] consisting of N intervals and a target interval X, the task is to find the minimum number of intervals from the… Read More
Given an array arr of N integers, the task is to calculate the length of longest sequence of consecutive integers that can be formed from… Read More
Given an integer K, the task is to find two consecutive perfect squares whose difference is K. If there don’t exist any such pairs of… Read More
Given a circular linked list, the task is to check whether the given list has duplicates or not. Example: Input: list = {5, 7, 5,… Read More
Given an array arr[] consisting of N integers, the task is to find the number of triplets whose indices and elements at that indices are… Read More
Given an array arr[] of N distinct binary strings each having N characters, the task is to find any binary string having N characters such… Read More
Given an array arr[] consisting of N positive integers and a positive integer M, the task is to find the smallest possible integer K such… Read More