He asked to create class for rectangle and later create function which takes two references of rectangle and returns true if they intersect. You can find this on internet. Rectangle can be parallel to x axis or can be titled also
I applied through other source. The process took 2 weeks. I interviewed at Vir Softech (Noida) in Mar 2024
Interview
They had taken interview in virtual mode. The interview was around data structures and algorithms majorly. They also asked some questions from oops and database topics. There were 3 interview rounds held.
Aptitude with two interview round not able to clear the round. The question of aptitude round consist of reasoning and technical theoretical questions. And the level of reasoning was medium.