This repository will contain labs from algorithms and data structures class. Solutions correctness and time complexity are verified with tests. Each lab contains problem description, tests and solution class.
- [Data stuctures] -
Simple list
,Sorted list
,moveToHeadList
(list, where last used element is always moved to head). - [Dynamic Programming] - Finding optimal solution for the game with two players 🎲.
- [Graph] -
Square graph
,Line graph
,Coloring
andStrong Coloring
of graph. - [Dynamic Programming] - Driving a car 🚗, finding maximal and minimal speed.
- [Graph] - Finding second shortest path.
- [Backtracking] - Finding the the most popular perfume.
- [Binary Search] - Upper bound binary search. Placing k elements with maximised minimum distance 🏬.