Adobe Interview Question

Basic Data structure algorithms and maths