d-ne0 / cabs_n_commuters Goto Github PK
View Code? Open in Web Editor NEWProgram that takes as input the location of m commuters and n cabs and a destination location, and outputs optimised cab routes for picking up all commuters (on a shared basis) and dropping them off at the destination.