Coding-Interview-Problems
This repository contains the coding interview problems along with solutions.
Problem |
Solution |
Code |
Category |
Difficulty |
Island Count |
|
CPP |
Graph Traversal |
Medium |
Minimum Falling Path Sum |
text |
CPP |
Dynamic Programming |
Medium |
Word Break |
text |
CPP |
Dynamic Programming |
Medium |
Remove K Digits |
text |
CPP |
Greedy, Stack |
Medium |
Binary Search Tree Checker |
To be updated |
CPP |
Trees |
Medium |
Delete node in singly-linked list |
text |
CPP |
Linked-List |
Easy, Tricky |
Minimize The Absolute Difference |
text |
CPP |
Two Pointers |
Easy |
Majority Element |
text |
CPP |
Hashing, Trick |
Easy, Tricky |
Count Numbers Less Than K |
text |
CPP |
Mathematics |
Easy-Medium |
Remove Zero Sum Consecutive Nodes |
text |
CPP |
Linked Lists |
Medium |
Ways To Form Max Heap |
text |
CPP |
Heap, Mathematics |
Medium-Hard |
Find K Closest Elements |
text |
CPP |
MISC |
Easy |
Populating Next Right Pointers |
text |
CPP |
Trees |
Medium |
Gas Station |
text |
CPP |
Greedy Algorithm |
Medium |
Set Matrix Zeroes |
text |
CPP |
Matrix Manipulation |
Easy, Tricky |
Diameter of Generic Tree |
text |
CPP |
Trees, Graphs |
Medium |
2 Keys Keyboard |
text |
CPP |
DP, Maths |
Medium |
Very Hard Queries |
Solution article |
CPP |
Queries, Maths |
Medium |
Deterministic Finite Automaton |
Solution article |
CPP |
Recursion, Dynamic Programming |
Medium |
Maximum Selling Gap |
Solution article |
CPP |
Arrays |
Medium |
Game of Life |
- |
CPP |
Arrays |
Medium |
3 Sum |
Article |
CPP |
Two Pointers |
Medium |
- DBMS Glossary
- Object Oriented Programming Glossary