Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
Maximize absolute displacement from origin by moving on X-axis based on given commands
Given a string S of length N, where each character of the string is either equal to 'L', 'R' or '?', the task is to find the maximum absolute displacement from the origin ...
Read More
Mathematical
Python
Recursion
frequency-counting
DSA
Count of Perfect Numbers in given range for Q queries
Given an array arr[] consisting of N pairs, where each pair represents a query of the form {L, R}, the task is to find the count of perfect numbers in the given range for ...
Read More
Arrays
Mathematical
prefix-sum
array-range-queries
DSA
Convert A into B by incrementing or decrementing 1, 2, or 5 any number of times
Given two integers A and B, the task is to find the minimum number of moves needed to make A equal to B by incrementing or decrementing the A by either 1, 2, or 5 any numb...
Read More
Greedy
Mathematical
C++ Programs
Maths
DSA
Trapping Rain Water in a Matrix
Given a matrix arr[][] of dimension M*N consisting of positive integers, where arr[i][j] represents the height of each unit cell, the task is to find the total volume of w...
Read More
Arrays
Queue
Algorithms
Greedy
Heap
Matrix
priority-queue
min-heap
DSA
Shortest Path Properties
The shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimize...
Read More
Graph
Algorithms
Shortest Path
DSA
Check if given String can be split only into subsequences ABC
Given a string S of length N where each character of the string is either 'A', 'B' or 'C'. The task is to find if is it possible to split the string into subsequences "ABC...
Read More
Strings
subsequence
DSA
Theft at World Bank
Given a sac of capacity W, and two arrays A[] and B[] of length N, where A[i] represents the weight of an ith block of gold and B[i] represents the profit gained by taking...
Read More
Greedy
Mathematical
cpp-vector
knapsack
DSA
Josephus Problem | Set 3 (using STL)
Given N persons are standing in a circle and an integer K. If initially starting from the first position, the Kth alive person clockwise from the current position is kille...
Read More
Walmart
Algorithms
STL
cpp-vector
Recursion
C++ Programs
cpp-set
DSA
C/C++ Puzzles
Maximize the count of adjacent element pairs with even sum by rearranging the Array
Given an array, arr[] of N integers, the task is to find the maximum possible count of adjacent pairs with an even sum, rearranging the array arr[].Examples:Input: arr[] =...
Read More
Arrays
Greedy
Mathematical
array-rearrange
DSA
Length of largest common subarray in all the rows of given Matrix
Given a matrix mat[][] of size N×M where each row of the matrix is a permutation of the elements from [1, M], the task is to find the maximum length of the subarray presen...
Read More
Dynamic Programming
Matrix
subarray
DSA
Find number of Polygons lying inside each given Polygons on Cartesian Plane
Given N non-intersecting nested polygons, and a 2D array arr[][] of pairs, where each cell of the array represents the coordinates of the vertices of a polygon. The task i...
Read More
Mathematical
Geometric
DSA
Check if summation of two words is equal to target word
Given three strings A, B, and C of size L, M, and N respectively and consisting of only lower case English alphabets less than 'K'. The task is to check if the sum of stri...
Read More
Strings
School Programming
DSA
C++ Program to check if a given String is Palindrome or not
Given a string S consisting of N characters of the English alphabet, the task is to check if the given string is a palindrome. If the given string is a palindrome, then pr...
Read More
Strings
palindrome
Reverse
School Programming
C++ Programs
strings
DSA
Solving Cryptarithmetic Puzzles | Set 2
Given an array of strings, arr[] of size N and a string S, the task is to find if it is possible to map integers value in the range [0, 9] to every alphabet that occurs in...
Read More
Strings
Backtracking
Hash
Recursion
DSA
Zoho Interview Experience
Hii, I have recently attended the Zoho On-Campus interview.ROUND 1(APTITUDE AND C MCQ'S): In the first round, they have conduct the test for 1 hour.In that, they are two p...
Read More
Interview Experiences
Zoho
Marketing
Experiences
1
...
5678
5679
5680
...
11222