Problem Set -> https://cses.fi/problemset/
My Profile -> https://cses.fi/user/302312
| Problem |
Approach |
Solution |
| Raab Game I |
adhoc |
Solution |
| Mex Grid Construction |
adhoc, matrix |
Solution |
| Knight Moves Grid |
bfs |
Solution |
| Grid Coloring I |
brute force |
Solution |
| String Reorder |
hashmap, adhoc |
Solution |
| Distinct Values Subarrays |
hashmap, 2-pointer |
Solution |
| Longest Common Subsequence |
dp |
Solution |
| Minimal Grid Path |
dp |
Solution |
| Labyrinth |
bfs |
Solution |
| Building Roads |
scc, dfs, graphs |
Solution |
| Message Route |
bfs |
Solution |
| Building Teams |
bipartite, dfs, bfs |
Solution |
| Round Trip |
dfs, cycle |
Solution |
| Monsters |
bfs |
Solution |
| Shortest Routes I |
dijkstra |
Solution |
| Shortest Routes II |
floyd-warshall |
Solution |
| High Score |
bellman-ford, dfs |
Solution |
| Flight Discount |
dijkstra |
Solution |
| Cycle Finding |
bellman-ford, cycle |
Solution |
| Flight Routes |
dijkstra |
Solution |
| Round Trip II |
dfs, cycle |
Solution |
| Course Schedule |
topological sort |
Solution |
| Longest Flight Route |
dp, dfs, dag |
Solution |
| Game Routes |
dp, dfs, dag |
Solution |
| Investigation |
dp, dijkstra |
Solution |
| Planets Queries I |
succ, binary lifting |
Solution |
| Road Reparation |
mst, kruskal, dsu |
Solution |
| Road Construction |
dsu |
Solution |
| Flight Routes Check |
scc, dfs |
Solution |
| Planets and Kingdoms |
scc, kosaraju |
Solution |
| Giant Pizza |
scc, 2-sat, kosaraju |
Solution |
| Coin Collector |
scc, dp, kosaraju |
Solution |
| Mail Delivery |
eulerian path, dfs |
Solution |
| De Bruijn Sequence |
eulerian path, dfs |
Solution |
| Subordinates |
dfs, trees |
Solution |