## Sparse Set

How to do the following operations efficiently if there are large number of queries for them. Insertion Deletion Searching Clearing/Removing all the elements. One solution… Read More »

- Internships @ GeeksforGeeks
- Coding Practice
- How to write an Interview Experience?
- Must Do Coding Questions Company-wise
- Must Do Coding Questions Topic-wise
- Basic
- Easy
- Medium
- Hard
- Expert
- Step by Step Preparation
- Company Preparation
- Top Topics
- Company Specific Practice
- Software Design Patterns
- Placements Preparation Course
- Interview Corner
- Recent Interview Experiences
- GQ Home Page
- Quiz Corner
- LMNs
- What's New ?
- Leaderboard !!
- Topic-wise Practice
- Subjective Problems
- Difficulty Level - School
- Difficulty Level - Basic
- Difficulty Level - Easy
- Difficulty Level - Medium
- Difficulty Level - Hard
- How to pick a difficulty level?
- Explore More...
- C
- C++
- Java
- Python
- SQL
- PHP
- JavaScript
- School Programming
- Operating Systems
- DBMS
- Computer Networks
- Engineering Mathematics
- Design Patterns
- Common Interview Puzzles
- Web Technology
- G-Facts
- Computer Graphics
- Image Processing
- Project Ideas

How to do the following operations efficiently if there are large number of queries for them. Insertion Deletion Searching Clearing/Removing all the elements. One solution… Read More »

Given an m x n matrix, find all common elements present in all rows in O(mn) time and one traversal of matrix. Example: Input: mat[4][5]… Read More »

There are two jugs each of 4 and 3 liters respectively , without any measuring marks. how many minimum steps are required to have 2… Read More »

A box contains n coins, of which 7 of them are counterfeit with tails on both sides and the rest are fair coins. If one… Read More »

A boy goes to 20 of his friend’s houses with ‘n’ number of newly purchased marbles in his hands. At every house he visits , he… Read More »

Round 1: It was a written round with three question. Q1) Find a peak element. https://www.geeksforgeeks.org/find-a-peak-in-a-given-array/ Q2) Top View of binary tree. https://www.geeksforgeeks.org/print-nodes-top-view-binary-tree/ Q3) Maximum… Read More »

Round 1: It was a writen round with three questions : 1. Find a row with maximum number of 1’s in a sorted 2D Boolean… Read More »

Socket programming in python is very user friendly as compared to c. The programmer need not worry about minute details regarding sockets. In python, the… Read More »

A cistern can be filled in 9 hours but it takes 10 hours due to a leak in its bottom. If the cistern is full,… Read More »

Two pipes can fill a tank in 10 hours and 12 hours resp. while third pipe empties the full tank in 20 hours. If all… Read More »

To fill a cistern, pipes A, B and C take 20 minutes, 15 minute and 12 minutes respectively. The time in minutes that the three… Read More »

Two taps A and B can fill a tank in 10 hours and 15 hours respectively. If both the taps are opened together, the tank… Read More »

An amount of 200000 is deposited in bank under a scheme which provides 10% rate 1st years, 20% rate 2nd year and 5% rate 3rd… Read More »

Find the compound interest on Rs. 15,000 for 9 months at 16% per annum compounded quarterly. (A) 1872.96 (B) 1972.96 (C) 2072.96 (D) 2172.96 Answer:… Read More »

An amount of Rs.15,000 is invested at 10% per annum for one year. If the interest is compounded half-yearly, then what amount will be received… Read More »