The interviewer was very immature. He did not explain the question properly. I verified this by looking up the same question on GeeksforGeeks. He was in a hurry and ended the interview unprofessionally. Please educate the interview panel that candidates also spend their time preparing for interviews, not just during them.
The following metrics were computed from 2 interview experiences for the Swiggy Lead SDET role in India.
Swiggy's interview process for their Lead SDET roles in India is extremely selective, failing the vast majority of engineers.
Candidates reported having very negative feelings for Swiggy's Lead SDET interview process in India.