Optimization coding challenges

Practise optimization with 2 coding challenges, from easy to hard. Every challenge runs in your browser with instant tests, an AI review of your code and community solutions to compare.

Medium · 1 Hard · 1

Skills you'll practise: Bitmask DPEvolutionary searchGenetic algorithmsSubsets
  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
226
Challenges
2
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

2 challenges
Hard

Minimum Elevator Rides

Group people into as few weight-limited elevator rides as possible.

You'll learn Bitmask DPSubsets
Dynamic-programmingOptimization
No solutions yet
Medium

One Generation of a Genetic Algorithm

Breed the next generation of bit strings with tournament selection, single-point crossover and mutation.

You'll learn Genetic algorithmsEvolutionary search
OptimizationSimulationai
No solutions yet