Skip to content

Latest commit

 

History

History
86 lines (67 loc) · 2.85 KB

File metadata and controls

86 lines (67 loc) · 2.85 KB

Codility Python Solutions

This repository contains my personal Python solutions for the Codility programming lessons which pass 100% of all tests. Each file is named according to the lesson number and the problem title. In addition to the code, each file contains a detailed explanation of the thought process and an analysis of the time complexity. Citations can be found for any solutions referenced or adapted from other sources.

Solutions

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: Leader

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