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
Count N digits numbers with sum divisible by K
Given two integers N and K, the task is to count all N digits numbers whose sum of digits is divisible by K.Examples:Input: N = 2, K = 7Output: 12Explanation: 2 digits num...
Read More
Dynamic Programming
Searching
Mathematical
number-digits
divisibility
DSA
Rearrange string such that no pair of adjacent characters are of the same type
Given alphanumeric string str, the task is to rearrange the string such that no two adjacent characters are of the same type, i.e., no two adjacent characters can be alpha...
Read More
Strings
Hash
permutation
frequency-counting
DSA
Count rows with sum exceeding sum of the remaining Matrix
Given a matrix mat[][] of dimensions N * M, the task is to count the number of rows whose sum exceeds the sum of the remaining elements of the Matrix.Examples:Input: mat[]...
Read More
Searching
Matrix
DSA
Check if a string can be transformed to another by sorting substrings
Given two strings str1 and str2, each of length N and consisting of lowercase English alphabets only, the task is to check if string str1 can be transformed to string str2...
Read More
Strings
Sorting
Hash
strings
DSA
Bitwise XOR of a submatrix of a matrix generated from a given array
Given an array arr[] of length N, , a matrix of dimensions N * N was defined on the array arr[] where Mi, j = arri arrj. Given four integers X, Y, S and T, the task is to...
Read More
Arrays
Bit Magic
Mathematical
Matrix
Bitwise-XOR
Bitwise-AND
DSA
Minimize Nth term of an Arithmetic progression (AP)
Given two integers A, B which are any two terms of an Arithmetic Progression series, and an integer N, the task is to minimize the Nth term of that arithmetic progression....
Read More
Searching
Mathematical
Combinatorial
Competitive Programming
number-theory
arithmetic progression
DSA
Maximum Manhattan distance between a distinct pair from N coordinates
Given an array arr[] consisting of N integer coordinates, the task is to find the maximum Manhattan Distance between any two distinct pairs of coordinates.The Manhattan Di...
Read More
Arrays
Sorting
Mathematical
Geometric
DSA
LOG() Function in MySQL
LOG() function in MySQL is used to calculate the natural logarithm of a specific number. The number must be 0 Otherwise it will return NULL.Syntax :LOG(X)Parameter : This ...
Read More
SQL
DBMS-SQL
mysql
Maximize length of longest increasing prime subsequence from the given array
Given an array, arr[] of size N, the task is to find the length of the longest increasing prime subsequence possible by performing the following operations.If arr[i] is al...
Read More
Arrays
Dynamic Programming
Mathematical
Hash
subsequence
sieve
Prime Number
array-rearrange
DSA
Subarray of size K with prime sum
Given an array, arr[] of size N and an integer K, the task is to print a subarray of size K whose sum of elements is a prime number. If more than one such subarray exists,...
Read More
Arrays
Searching
Mathematical
sieve
Prime Number
subarray
subarray-sum
DSA
Minimum characters required to be removed to sort binary string in ascending order
Given a binary string str, the task is to remove the minimum number of characters from the given binary string such that the characters in the remaining string form a sort...
Read More
Strings
Microsoft
Searching
interview-preparation
binary-string
frequency-counting
DSA
Longest increasing subsequence which forms a subarray in the sorted representation of the array
Given an array arr[] of N integers, the task is to find the length of the longest increasing subsequence such that it forms a subarray when the original array is sorted.Ex...
Read More
Arrays
Dynamic Programming
Sorting
subsequence
subarray
DSA
Maximize array sum by replacing equal adjacent pairs by their sum and X respectively
Given two integers N and X which denotes the size of an array arr[] and the initial value of all the array elements respectively, the task is to find the maximum sum possi...
Read More
Arrays
Greedy
Mathematical
array-rearrange
maths-power
DSA
Walmart Interview Experience Sep-2020 (On-Campus)
Walmart visited our campus on 14 September 2020.The complete interview process was virtual.It was a 4 round process.Round 1(duration 60 minutes): The first round was unsup...
Read More
Walmart
Interview Experiences
On-Campus
Marketing
Experiences
Persistent Systems Limited Interview Experience (Pool Campus Drive for B.E. Freshers 2019-20 batch - Goa)
Persistent Systems Limited conducted a pool campus drive at D.B.C.E Goa in August 2019 where the neighboring college students were invited (I was one of them). More than 5...
Read More
Interview Experiences
Persistent Systems
Marketing
Experiences
1
...
7049
7050
7051
...
11204