Most interviewers select their questions from LeetCode, so do the LeetCode questions first. The remaining questions below are either not on LeetCode for free, or are a better version of a LeetCode question.
LeetCode
LeetFree
# | Question | Solution | Difficulty | Great Problem |
---|---|---|---|---|
694 | Number of Distinct Islands | Solution | Medium | * |
711 | Number of Distinct Islands II | Solution | Hard |
Cracking the Coding Interview
HackerRank
Question | Solution | Difficulty | Great Problem |
---|---|---|---|
Linked List - Print in Reverse | Solution | Easy | * |
Counting Sort | Solution | Medium | * |
Reverse a Doubly Linked List | Solution | Medium | * |
Java 1D Array | Solution | Medium | * |
Java Dequeue | Solution | Medium | * |
Contacts | Solution | Hard | * |
Array Manipulation | Solution | Hard | * |
Picking Numbers | Solution | Easy | * |
Electronics Shop | Solution | Easy | |
Minimum Distances | Solution | Easy | |
Find Digits | Solution | Easy | |
Sansa and XOR | Solution | Easy | |
Making Anagrams | Solution | Medium | |
Repeated String | Solution | Medium | |
Inserting a Node Into a Sorted Doubly Linked List | Solution | Medium | |
Super Reduced String | Solution | Medium | |
Caesar Cipher | Solution | Medium | |
Gemstones | Solution | Medium | |
Maximizing XOR | Solution | Medium | |
Sum vs XOR | Solution | Hard |
Custom
Question | Solution | Difficulty | Great Problem |
---|---|---|---|
Dijkstra's Algorithm | Solution | Hard | * |
Arithmetic Progression Missing Element | Solution | Easy | |
Shortest Common SuperSequence | Solution | Hard | |
2 Coins on Graph | Solution | Medium | |
Find Cycles in Graph | Solution | Medium | |
Shortest Cycle in Graph Containing Given Node | Solution | Medium | |
Risky Edges in Graph | Solution | Medium | |
Number of Shortest Paths | Solution | Medium | |
Ethnographers Births and Deaths | Solution | Medium | |
Adding and Removing Edges in MSTs | Solution | Medium |