Categories
coding solutions

Codility Lesson Solutions in C++

Codility Lessons Solutions

Codility is a company that provides testing of candidates coding skills.

Essentially their site asks the applicant to write a function to perform a task, then runs unit tests against the answer.
They also provide a set of tasks that anyone can take and get their answer tested, called ‘lessons’. I’d recommend these to any programmer to check their own skills, especially when learning a new language.
One caveat is that the attached ‘Reading Material’ isn’t high quality, although their solutions rely on specific hacks they describe. You are better off with a good book on algorithms.

Lesson

  1. Iterations
  2. Arrays
  3. Time Complexity
  4. Counting Elements
  5. Prefix Sums
  6. Sorting
  7. Stacks and Queues
  8. Leader
  9. Maximum slice problem
  10. Prime and composite numbers
  11. Sieve of Eratosthenes
  12. Euclidean algorithm
  13. Fibonacci numbers
  14. Binary search algorithm
  15. Caterpillar method
  16. Greedy algorithms
  17. Dynamic programming

5 replies on “Codility Lesson Solutions in C++”

Leave a Reply

Your email address will not be published. Required fields are marked *