Goldman Sachs Coderpad test
- Posted
- 11 Apr 2025
Summary
I experienced a coderpad test at Goldman Sachs which included a specific problem about a walking robot. Despite solving one problem, I faced network issues and miscommunication with the interviewer, leading to a frustrating experience.
How it went
I have given the coder pad test yesterday.
Q1. Walking robot starts at (0,0) coordinates and where the input string contains 'UDLR' to determine path like up down left and right and we have to return final coordinate it is at.
Started the question by asking me the edge cases for this problem.Solved but inefficient
Q2. Some kind of debugging (Easy)
The interviewer thought it was one 1 hour and when i solved the first one in 45 mins he tried to waste my time for 5 mins and told me there is only 10 mins i cannot give you another problem. Then i reminded him but later i had bad network issues. Somehow the interviewer felt i am doing some malpractice. It was really a bad day.
I have read some experiences here before attending the interview and it helped me a lot. So I just giving it back by writing here.
All the best. Atleast this could help someone.
Questions asked (1)
- 01
Walking Robot Final Coordinate
Data Structures & Algorithms
A robot starts at (0,0) coordinates. An input string contains 'UDLR' characters, where 'U' means up, 'D' means down, 'L' means left, and 'R' means right. Determine the robot's final coordinate after processing the input string. The interviewer started by asking about edge cases for this problem.
How they prepared
I have read some experiences here before attending the interview and it helped me a lot. So I just giving it back by writing here.