You can crack any Interview if you are preparing yourself in a well organised manner. There are lots of Data Structure and Algorithm problems on internet and it is quite impossible for a person to practice all of them. So it is really important that you practice a list of few problems which are really important and covers almost every concepts.
I have tried my best to sort all those problems for you and ordered them as well. I hope if you follow my list and study in the same order in which i have given, it will surely help you prepare very well for the Job Interview in your 2 months vacation.
ID |
PROBLEM STATEMENT |
PROBLEM LINK |
1 |
Missing number in array |
Leetcode , GFG |
2 |
Subarray with given sum |
GFG |
3 |
2 Sum |
LeetCode , InterviewBit, GFG , |
4 |
Majority Element |
LeetCode , InterviewBit , GFG |
5 |
Max Consecutive Ones |
LeetCode , InterviewBit |
6 |
Sort an array of 0s, 1s and 2s |
GFG , LeetCode |
7 |
Spiral Matrix |
LeetCode , InterviewBit |
8 |
Find the duplicate number |
LeetCode |
9 |
Largest number formed from an array |
LeetCode , InterviewBit, GFG |
10 |
Next Permutation |
LeetCode , InterviewBit |
11 |
Merge Overlapping Intervals |
LeetCode , InterviewBit, GFG |
12 |
First Missing Positive |
LeetCode , InterviewBit |
ID |
PROBLEM STATEMENT |
PROBLEM LINK |
1 |
Find middle element in a linked list |
LeetCode , GFG |
2 |
Remove n'th node from end of a linked list |
LeetCode , InterviewBit |
3 |
Intersection Point in Y shaped linked list |
LeetCode , InterviewBit |
4 |
Reverse a linked list |
LeetCode , InterviewBit |
5 |
Check if a linked list is Palindrome |
LeetCode , InterviewBit |
6 |
Rotate a LinkedList |
LeetCode , InterviewBit |
7 |
Reverse linked list in a group of given size k |
LeetCode , InterviewBit |
8 |
Detect and Remove Loop in a linked list |
LeetCode , InterviewBit |
9 |
Find length of the Loop in a linked list |
GFG |
10 |
Segregate even and odd positioned nodes in a linked list |
LeetCode , GFG |
11 |
Segregate even and odd valued nodes in a linked list |
GFG |
12 |
Clone a linked list with next and random pointer |
LeetCode , GFG |
13 |
Reorder List L1->L2->...Ln to L1->Ln->L2->Ln-1.... |
LeetCode , InterviewBit |
14 |
Delete N nodes after M nodes of a linked list |
GFG |
15 |
Merge K sorted list |
LeetCode , InterviewBit , GFG |
16 |
Add two numbers represented by a linked list |
LeetCode , InterviewBit |
ID |
PROBLEM STATEMENT |
PROBLEM LINK |
1 |
Generate binary numbers from 1 to n |
GFG |
2 |
Minimum time required to rot all Oranges |
GFG , LeetCode |
3 |
First non repeating character in a stream |
GFG |
4 |
Circular tour |
GFG , LeetCode |
5 |
Sliding Window Maximum |
LeetCode , InterviewBit |
ID |
PROBLEM STATEMENT |
PROBLEM LINK |
1 |
Insert a Node in BST |
LeetCode |
2 |
Delete a Node from BST |
LeetCode |
3 |
Lowest common ancestor in BST |
LeetCode |
4 |
Inorder Successor in BST |
LeetCode |
5 |
Kth Smallest node in BST |
LeetCode |
ID |
PROBLEM STATEMENT |
PROBLEM LINK |
1 |
Median in a stream of integers |
GFG |
2 |
Top K Frequent Elements in an Array |
LeetCode |
3 |
Kth Largest Element in a Stream |
LeetCode |
4 |
Sort a nearly sorted (or K sorted) array |
GFG |
5 |
Kth Smallest Element in a Sorted Matrix |
LeetCode |
ID |
PROBLEM STATEMENT |
PROBLEM LINK |
1 |
Region in Binary Matrix |
InterviewBit , GFG |
2 |
Rotting Oranges |
LeetCode , GFG |
3 |
Number of Islands |
LeetCode , GFG |
4 |
Find whether path exist |
InterviewBit , GFG |
5 |
Cycle in Undirected Graph |
InterviewBit , GFG |
6 |
Cycle in Directed Graph |
InterviewBit , LeetCode |
7 |
Topological Sort |
LeetCode |
8 |
Snakes and Ladders |
LeetCode , InterviewBit |
9 |
Alien Dictionary |
GFG |
10 |
Word Search |
LeetCode , InterviewBit |
11 |
Word Search 2 |
LeetCode , GFG |
12 |
Word Ladder |
InterviewBit , LeetCode |