Given a string of moves a robot makes, does he end up at the location he starts from?

Manasa Reddy
3y
Depending on the moves we have given we can easily estimate that robot can reach its end location and can return back.
Amar S
5y
Reach the end of location then robot return back the same palace.
Help your peers!
Add answer anonymously...
Flipkart Software Developer interview questions & answers
A Software Developer was asked 6mo agoQ. Describe a problem that can be solved using the two-pointer technique.
A Software Developer was asked 9mo agoQ. Given the root of a binary search tree (BST) and an integer k, return the kth la...read more
A Software Developer was asked 9mo agoQ. Implement Depth First Search (DFS) traversal on a simple graph.
Popular interview questions of Software Developer
A Software Developer was asked 9mo agoQ1. Given the root of a binary search tree (BST) and an integer k, return the kth la...read more
A Software Developer was asked 9mo agoQ2. Implement Depth First Search (DFS) traversal on a simple graph.
A Software Developer was asked Q3. Describe a time you used topological sort to find the order of nodes in a graph.
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

