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
Find position of Queen in chessboard from given attack lines of queen
Given an N×N Matrix Mat[][] of N rows and N columns. There is exactly one Queen on the chessboard and the cell that is under the attack of the Queen is represented by 'Q' ...
Read More
Greedy
Matrix
chessboard-problems
DSA
Total count of elements having frequency one in each Subarray
Given an array arr[] of length N, the task is to find the total number of elements that has frequency 1 in a subarray of the given array.Examples:Input: N = 3, arr[ ] = {2...
Read More
Data Structures
DSA
Find minimum chocolates left after following the given rules
Geek has N packs of chocolates and the amount of chocolates in each pack is given in an array arr[]. His sister wants to have a pack of chocolate. Geeks being greedy will ...
Read More
Arrays
Greedy
School Programming
Picked
DSA
GATE 2025 Syllabus For CSE (Computer Science & Engineering)
GATE Exam 2025 Syllabus for CSE - GATE stands for Graduate Aptitude Test in Engineering, an entrance exam conducted each year for getting admission into the most prestigio...
Read More
GBlog
GATE CS
Why use an Array to implement a "list" instead of a Hash Table?
What is an Array?An array is a collection of similar data elements stored at contiguous memory locations. It is the simplest data structure where each data element can be ...
Read More
Arrays
Functions
cpp-list
Pigeonhole Principle
Picked
TCS-coding-questions
Volkswagen IT Services
DSA
Intellipaat
Divide maximum element in N groups so that received and required has difference atmost K
Given two arrays A[] and B[] of size N and M respectively denoting the required elements of each group and the number of elements in a pack respectively. The task is to di...
Read More
Arrays
Greedy
Sorting
DSA
Check if given vectors are Parallel or Perpendicular?
Given two force vectors, find out whether they are parallel, perpendicular or neither. Let the first vector be A = a1 i +a2 j + a3 k and the second vector be B = b1 i + b2...
Read More
Mathematical
School Programming
Picked
DSA
How does the Google's "Did you mean" Algorithm work?
When you wish to say something but miss a few characters/words, the first response that anyone gives you is "Did you mean this?". The same is the case with Google's search...
Read More
Algorithms
DSA
Count paths of Tree such that starting and ending node values are same
Given a tree with N nodes, an array A[] of size N denoting the value of each node and array edges [][] of size (N-1), the task is to count the total number of paths such t...
Read More
Tree
DFS
Recursion
DSA
Count Array elements that occur before any of its prefix value of another Array
Given two arrays A[] and B[] of size N each, the task is to find the number of elements in array B[] that occur before any element that was present before it in array A[]....
Read More
Greedy
DSA
Minimize rope length to connect given points in a 3D plane
Given a 2-D array A[][] of size N × 3, where each element of the array is of the form {x, y, z}, where x, y and z are coordinates of a point in 3D space. The task is to co...
Read More
Graph
Greedy
MST
DSA
Accounting Treatment of Investment Fluctuation Fund in case of Admission of a Partner
An investment Fluctuation Fund is a reserve created out of profit to meet the change in the market value of the investment. An amount is kept aside in the reserve in name ...
Read More
Picked
Class 12
Accountancy
Commerce
Accounting for Share Capital: Issues of Shares for Cash
A unit of capital or an equal portion of the share capital of an organisation divided, whose ownership is evidenced by a share certificate is known as a Share. Simply put,...
Read More
Picked
Class 12
Accountancy
Commerce
Contract Manufacturing: Meaning, Advantages, and Disadvantages
What is Contract Manufacturing?Contract manufacturing is a kind of international business in which a company gets into an agreement with one or more local manufacturers in...
Read More
Picked
Class 11
Business Studies
Commerce
How to use Method Chaining in jQuery ?
jQuery is an open-source JavaScript library that simplifies the interactions between an HTML/CSS document, or more precisely the Document Object Model (DOM), and JavaScrip...
Read More
Web Technologies
Picked
JQuery
jQuery-Methods
jQuery-Questions
1
...
3579
3580
3581
...
11245