In this video, I explained the solution to Codeforces Round #660 (Div. 2) Problem D: Flint and Treasure.
Before watching the video, try to solve the problem on your own here: https://codeforces.com/problemset/problem/1388/D
See my solution here: https://pastebin.com/3vgSrJXm.
If you want to read further into topological sorting, here is a good article: https://www.geeksforgeeks.org/topological-sorting/. A simple Google search will give you many other great articles too.
Thank you for watching and make sure to check out other videos!
This video was created by Edward from TheCodeBakery.
Looking to learn how to code apps, games, and websites for free? Subscribe and sign up at thecodebakery.herokuapp.com.
Download
0 formats
No download links available.
Codeforces Round #660 (Div. 2) Problem D Solution: Flint and Treasure | NatokHD