Sde Interview Questions

16,604 sde interview questions shared by candidates

Q1) Two Robots landed from a space-ship. The initial landing position of the space-ship is called 'HOTSPOTS'. You need to implement the below method so that they meet. Note: Consider this below Main class is running parallelly on both machines at the exact same time. There is no distinction between robots. When both robots meet they can talk with each other and stop. i.e. the MainClass execution will stop on both machines. Ex. when you call right(5), both robots move 5 steps right. Let's take the name of the robot on left as A and the robot on right as B. This is just for our understanding, the program doesn't know A and B. -----A-------B-------
avatar

SDE-III

Interviewed at Groupon

2.9
Nov 9, 2019

Q1) Two Robots landed from a space-ship. The initial landing position of the space-ship is called 'HOTSPOTS'. You need to implement the below method so that they meet. Note: Consider this below Main class is running parallelly on both machines at the exact same time. There is no distinction between robots. When both robots meet they can talk with each other and stop. i.e. the MainClass execution will stop on both machines. Ex. when you call right(5), both robots move 5 steps right. Let's take the name of the robot on left as A and the robot on right as B. This is just for our understanding, the program doesn't know A and B. -----A-------B-------

Viewing 921 - 930 interview questions

Glassdoor has 16,604 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.