Skip to content
Gblog Must Do Coding Questions for Product Based Companies
As the placement season is back, GeeksforGeeks is here to help you crack the interview. We have selected some most commonly asked and MUST DO… Read More
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations. Examples: Input:… Read More
Given non-negative integers K, M, and an array arr[] with N elements find the Mth element of the array after K left rotations. Examples: Input:… Read More
Given a binary tree, the task is to find the length of the longest path which forms an Arithmetic progression. The path can start and… Read More
Given a square matrix M[][] of size N x N, the task is to find the maximums & minimums of each of the rows and… Read More
Given an array arr[] containing N non-negative integers, the task is to find the maximum AND value among all the subsets having length K.  Examples: … Read More
Given an arr[ ] of size N, containing positive, negative integers and one zero. The task is to rearrange the array in such a way… Read More
Given an array arr[] of size N, the task is to remove all negative elements from this array. Examples: Input: arr[] = {3, -4}Output: {3}Explanation:… Read More
Given an array arr[] of N integers, the task is to replace each element of Array with their rank according to Rightmost-Set Bit (RSB) in… Read More
Given an array arr[] of N non-negative integers and an integer P (1 ≤ P ≤ 30), which denotes the upper limit of any number… Read More
Given a 2D array arr[][] of size N*M which denotes N arrays, each of size M. The task is to check if all these arrays… Read More
In this article we will discuss about the tag that is used to define an abbrevation. The <abbr> tag in HTML is used to define… Read More
In this article, we will learn about the utility classes in Materialize CSS, along with understanding available classes and their implementation.  The utility class is… Read More
There are many ways to fill static values in an array in JavaScript. Let’s see them all one by one. Array fill() Method: We use… Read More
Spread Operator: Spread operator or Spread Syntax allow us to expand the arrays and objects into elements in the case of an array and key-value… Read More
Given the series 2, 8, 18, 32, 50…, find the Nth term of the series. Examples: Input: N = 1Output: 2 Input: N = 3Output:… Read More

Start Your Coding Journey Now!