Amazon Interview Question

Time complexity of technical solution