GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jsueling/codility-python: Solutions to Codility's developer training exercises, written in Python.

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
01_binary_gap.py
01_binary_gap.py
 
 
02_cyclic_rotation.py
02_cyclic_rotation.py
 
 
02_odd_occurrences_in_array.py
02_odd_occurrences_in_array.py
 
 
03_frog_jmp.py
03_frog_jmp.py
 
 
03_perm_missing_elem.py
03_perm_missing_elem.py
 
 
03_tape_equilibrium.py
03_tape_equilibrium.py
 
 
04_frog_river_one.py
04_frog_river_one.py
 
 
04_max_counters.py
04_max_counters.py
 
 
04_missing_integer.py
04_missing_integer.py
 
 
04_perm_check.py
04_perm_check.py
 
 
05_count_div.py
05_count_div.py
 
 
05_genomic_range_query.py
05_genomic_range_query.py
 
 
05_min_avg_two_slice.py
05_min_avg_two_slice.py
 
 
05_passing_cars.py
05_passing_cars.py
 
 
06_distinct.py
06_distinct.py
 
 
06_max_product_of_three.py
06_max_product_of_three.py
 
 
06_number_of_disc_intersections.py
06_number_of_disc_intersections.py
 
 
06_triangle.py
06_triangle.py
 
 
07_brackets.py
07_brackets.py
 
 
07_fish.py
07_fish.py
 
 
07_nesting.py
07_nesting.py
 
 
07_stone_wall.py
07_stone_wall.py
 
 
08_dominator.py
08_dominator.py
 
 
08_equi_leader.py
08_equi_leader.py
 
 
09_max_double_slice_sum.py
09_max_double_slice_sum.py
 
 
09_max_profit.py
09_max_profit.py
 
 
09_max_slice_sum.py
09_max_slice_sum.py
 
 
10_count_factors.py
10_count_factors.py
 
 
10_flags.py
10_flags.py
 
 
10_min_perimeter_rectangle.py
10_min_perimeter_rectangle.py
 
 
10_peaks.py
10_peaks.py
 
 
11_count_non_divisible.py
11_count_non_divisible.py
 
 
11_count_semiprimes.py
11_count_semiprimes.py
 
 
12_chocolates_by_numbers.py
12_chocolates_by_numbers.py
 
 
12_common_prime_divisors.py
12_common_prime_divisors.py
 
 
13_fib_frog.py
13_fib_frog.py
 
 
13_ladder.py
13_ladder.py
 
 
14_min_max_division.py
14_min_max_division.py
 
 
14_nailing_planks.py
14_nailing_planks.py
 
 
15_abs_distinct.py
15_abs_distinct.py
 
 
15_count_distinct_slices.py
15_count_distinct_slices.py
 
 
15_count_triangles.py
15_count_triangles.py
 
 
15_min_abs_sum_of_two.py
15_min_abs_sum_of_two.py
 
 
16_max_non_overlapping_segments.py
16_max_non_overlapping_segments.py
 
 
16_tie_ropes.py
16_tie_ropes.py
 
 
17_min_abs_sum.py
17_min_abs_sum.py
 
 
17_number_solitaire.py
17_number_solitaire.py
 
 
README.md
README.md
 
 

Repository files navigation

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

  • Binary Gap

Lesson 2: Arrays

  • Cyclic Rotation
  • Odd Occurrences In Array

Lesson 3: Time Complexity

  • Frog Jump
  • Perm Missing Elem
  • Tape Equilibrium

Lesson 4: Counting Elements

  • Frog River One
  • Max Counters
  • Missing Integer
  • Perm Check

Lesson 5: Prefix Sums

  • Count Div
  • Genomic Range Query
  • Min Avg Two Slice
  • Passing Cars

Lesson 6: Sorting

  • Distinct
  • Max Product Of Three
  • Number Of Disc Intersections
  • Triangle

Lesson 7: Stacks and Queues

  • Brackets
  • Fish
  • Nesting
  • Stone Wall

Lesson 8: Leader

  • Dominator
  • Equi-Leader

Lesson 9: Maximum slice problem

  • Max Double Slice Sum
  • Max Profit
  • Max Slice Sum

Lesson 10: Prime and composite numbers

  • Count Factors
  • Flags
  • Min Perimeter Rectangle
  • Peaks

Lesson 11: Sieve of Eratosthenes

  • Count Non Divisible
  • Count Semiprimes

Lesson 12: Euclidean algorithm

  • Chocolates By Numbers
  • Common Prime Divisors

Lesson 13: Fibonacci numbers

  • Fib Frog
  • Ladder

Lesson 14: Binary search algorithm

  • Min Max Division
  • Nailing Planks

Lesson 15: Caterpillar method

  • Abs Distinct
  • Count Distinct Slices
  • Count Triangles
  • Min Abs Sum Of Two

Lesson 16: Greedy algorithms

  • Max Non Overlapping Segments
  • Tie Ropes

Lesson 17: Dynamic programming

  • Min Abs Sum
  • Number Solitaire

About

Solutions to Codility's developer training exercises, written in Python.

app.codility.com/programmers/

Topics

codilitycodility-pythoncodility-solutions

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.