Disjoint-set union data structure in C++ and Swift
Have you ever wondered, when you drive by your car, how your navigation system corrects the optimal route, from your current position to your destination, on changes based on the input data such as traffic jams and missed turns?
This is one of the re...
hassaneldesouky.hashnode.dev7 min read