Though not being as extensive as Leetcode, Codility provides free, categorized training lessons for those who are preparing for a coding interview. Here are my solutions to all of these lessons. The codility total scores are 100% for most of the solutions. For some problems that I could not find the solutions by myself, the ideas were then taken from (mostly) the legendary stackoverflow.
- Lesson 1: Iterations
- Lesson 2: Arrays
- Lesson 3: Time complexity
- Lesson 4: Counting elements
- Lesson 5: Prefix sums
- Lesson 6: Sorting
- Lesson 7: Stacks and queues
- Lesson 8: Leaders
- Lesson 9: Maximum slice problem
- Lesson 10: Prime and composite numbers
- Lesson 11: Sieve of Eratosthenes
- Lesson 12: Euclidean algorithm
- Lesson 13: Fibonacci numbers
- Lesson 14: Binary search algorithm
- Lesson 15: Caterpillar method
- Lesson 16: Greedy algorithms
- Lesson 17: Dynamic programming