Tubular Labs Interview Question

standard algorithm questions