## Practice for cracking any coding interview

Coding questions in this article are difficulty wise ordered. The idea of this post is to target two types of people. Competitive Programming Preparation (For… 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

Featured Article

Coding questions in this article are difficulty wise ordered. The idea of this post is to target two types of people. Competitive Programming Preparation (For… Read More »

Featured Article

As the placement season is back so are we to help you ace the interview. We have selected some most commonly asked and must do… Read More »

Featured Article

GATE(Graduate Aptitude Test in Engineering) is one the most important and in-demand entrance exam for engineering graduates in our country. M.Tech. in Computer Science is… Read More »

Given an Array of integers. The task is to find the index in the array at which the value of prefixSum(i) + suffixSum(i) is minimum.… Read More »

Given a dictionary in Python, write a Python program to check whether a given key already exists in a dictionary. If present, print “Present” and… Read More »

Given two polynomials in the form of linked list. The task is to find the multiplication of both polynomials. Examples: Input: Poly1: 3x^2 + 5x^1… Read More »

Given a string str consisting of lowercase English alphabets, the task is to find the total number of palindromic sub-strings present in the sorted form… Read More »

In Java, there are two types of threads: Daemon Thread User Thread Daemon threads are low priority threads which always run in background and user… Read More »

Format specifiers begin with a percent character (%) and terminate with a “type character,” which indicates the type of data (int, float, etc.) that will… Read More »

Given a number in the form of a string. The task is to find the maximum sum and product of m consecutive digits that are… Read More »

Given a number N and a number K, the task is to find the smallest number greater than or equal to N which is divisible… Read More »

Given an array and a key, the task is to remove all occurrences of the specified key from the array in Java. Examples: Input: array… Read More »

Given four integers x, y, z and n, the task is to find the largest n digit number which is divisible by x, y and… Read More »

Prerequisite: Graph Theory Basics – Set 1, Graph Theory Basics – Set 2 A graph G = (V, E) consists of a set of vertices… Read More »

Given a string str. The task is to count the minimum number of elements to be removed so that pairwise consecutive elements are same Examples:… Read More »

Given a string of length N of lowercase characters containing 0 or more vowels, the task is to find the count of vowels occurred in… Read More »

Given an integer N, below operations can be performed any number of times on N: Multiply N by any positive integer X i.e. N =… Read More »

Given two strings, the task is to check whether the frequencies of a character(for each character) in one string is a multiple or a factor… Read More »