given a set of usb cables with different plugs and length, and a set of devices and hubs to connect, write an algorithm that gives you the optimal use of cables with the least amount of messiness.
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.