customer success engineer interview questions shared by candidates
During an interview I was asked if one robot was chasing another on a round playing field with a circular hole in the middle and you can fall into the hole or off the edge, what would the algorithm be like to hunt down the other fleeing robot. Granted, had nothing to do with the position or type of coding, but the fact they thought of something interesting to ask out of the box and left it open ended so I could be creative on the spot was much appreached.
Scan at some pre-determined resolution (say 30x a second), see where robot is, turn in spot, move X distance over whatever time frame at speed but only to boundries. If boundry hit, triangulate route based on boundries and circumvent hole. Loop. Or something similar. Been a while since I thought about it.
Run at twice the speed. Change direction and run in opposite direction till you catch the bugger. run in circle of half the radius and keep increasing the radius so you are right behind the fugitive.
See Interview Questions for Similar Jobs
- Mechanical Engineer
- Social Worker
- Human Resource
- Registered Nurse
- Medical Assistant
- Security Guard
- Graphic Designer
- Pharmaceutical Sales