Asana Interview Question

usual algorithm questions you'd find on hackerrank