Hackerrank-interview-preparation-kit-solutions
Hackerrank-interview-preparation-kit-solutions copied to clipboard
Solutions to Hackerrank's interview preparation kit.
Hackerrank interview prep kit solutions with explanations, see below
Solutions to Hackerrank's interview preparation kit.
Explanations and notes
These are the problems for which I have written detailed explanations. I usually write these right after solving the problem. If you still have questions open an issue or send me an email. Before reading the explanations make sure to understand the problems. When writting these I assume that the reader will be very familiar with the context. Remember to leave a star if you find this useful!
Dictionaries and hashmaps
Sherlok and anagrams Explanation
Sorting
Sorting: Comparator Explanation
Merge Sort: Counting Inversions Explanation
String manipulation
Sherlok and the valid string Explanation
Special palindrome again Explanation
Greedy algorithms
Reverse Merge Shuffle explanation
Search
Minimum time required explanation
This is a work in progress expect regular updates.