HCL Technologies interview question

Interview query answer the question