DEV Community

Discussion on: Remove terrible bus routes (find an algorithm)

Collapse
 
hkrogstie profile image
Håvard Krogstie

One possibility is comparing every pair of trips to see if one is objectively worse than another, but that would take a long time if N were the theoretical maximum of 100000.