Pulley Interview Question

Solve an API challenge .