Skip to content

CarlosBalladares/Hackerrank-interview-preparation-kit-solutions

Repository files navigation

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

Ransom Note Explanation

Two Strings Explanation

Sherlok and anagrams Explanation

Frequency Queries Explanation

Sorting

Sorting: Comparator Explanation

Merge Sort: Counting Inversions Explanation

String manipulation

Sherlok and the valid string Explanation

Special palindrome again Explanation

Common child Explanation

Greedy algorithms

Greedy Florist explanation

Max min Explanation

Reverse Merge Shuffle explanation

Search

Pairs explanation

Triple sum explanation

Minimum time required explanation

This is a work in progress expect regular updates.