Virtusa OA Coding Questions with Answers 2025 | Virtusa Round 2 Coding | Queue Simulation & Array Distribution Logic
Virtusa · Question · Posted Mar 2026
Question 1: Maze of People Problem Statement: You are standing in a long line to enter the Maze of Trials. The line is endless, and only two people can enter the maze every second. The process follows these rules: Every second, the 1st and 3rd people in the line enter the maze. The person who was 2nd before, they will move to the 1st position. This keeps happening every second, with the 1st and 3rd people always entering and leaving. ...
The full answer & interview discussion are available to premium members.
Log in Create a free account