This is a repo that contains Python 3 solutions to all problems in the HackerRank Interview Kit.
Subject | Easy | Medium | Hard | Total | Interview Chance |
---|---|---|---|---|---|
Arrays | 2 | 2 | 1 | 5 | 70% |
Dictionaries and Hashmaps | 2 | 3 | 0 | 5 | 40% |
Sorting | 2 | 2 | 1 | 5 | 40% |
String Manipulation | 2 | 3 | 0 | 5 | 40% |
Greedy Algorithms | 2 | 2 | 1 | 5 | 31% |
Search | 0 | 5 | 2 | 7 | 30% |
Dynamic Programming | 0 | 3 | 1 | 4 | 27% |
Stacks and Queues | 0 | 5 | 1 | 6 | 17% |
Graphs | 0 | 2 | 3 | 5 | 15% |
Trees | 2 | 2 | 1 | 5 | 12% |
Linked Lists | 5 | 0 | 0 | 5 | 8% |
Recursion and Backtracking | 1 | 3 | 0 | 4 | 5% |
Miscellaneous | 1 | 3 | 0 | 4 | ... |
Total | 19 | 35 | 11 | 65 | ... |
- Read and understand the problem.
- Consider edge cases in the problem.
- Write brute force (dummy) code to solve the problem.
- Try to optimise the code based on experience.
- Look at other solutions and find better solutions.
- Learn from other solutions and take notes down.
- Write down solution and thinkings in simple words.