Wipro Interview Question

Started, medium, tricky and high