Amazon Interview Question

maximum questions are available in geeksforgeeks