My shot at the Cracking the Coding Interview Challenge on Hackerrank using Java and C++.
The Java source files can be found in the Java_Source directory. The C++ source files can be found in the CPP_Source directory.
- Arrays: Left Rotation
- Strings: Making Anagrams
- Hash Tables: Ransom Note
- Linked Lists: Detect a Cycle
- Stacks: Balanced Brackets
- Queues: A Tale of Two Stacks
- Trees: Is This a Binary Search Tree?
- Heaps: Find the Running Median
- Tries: Contacts
- Sorting: Bubble Sort
- Sorting: Comparator
- Merge Sort: Counting Inversions
- Binary Search: Ice Cream Parlor
- DFS: Connected Cell in a Grid
- BFS: Shortest Reach in a Graph
- Time Complexity: Primality
- Recursion: Fibonacci Numbers
- Recursion: Davis' Staircase
- DP: Coin Change
- Bit Manipulation: Lonely Integer