Loading Company...
This is a verified interview question from Flipkart-grid-8.0. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Autonomous Robots Sequence" covers key patterns like Other.
"Given a sequence of commands to move robots in a parade, determine the final sequence of robots from left to right. The commands are of two types: 'A X Y' to move a robot to position (X, Y) and '5-8 X Y' to move a robot to bend over position (X, Y). The initial positions of the robots are unknown, but the final positions are given as a list of 2D points. The goal is to reconstruct the original sequence of robots."
Join thousands of developers practicing for Flipkart-grid-8.0.