Software De Backend Interview Questions

15,496 software de backend interview questions shared by candidates

Q: Assume you have a number line starting from zero. You start from index "start", trying to reach index "end" by only performing operations "l" and "r" that signify the number of steps you can take towards left or right respectively. On the number line, there are some indexes marked which you cannot visit, let's mark them as "-1". For example, consider the input as below: arr = [0, 1, 2, 3, -1, 5, 6, 7, -1, 9, 10] start = 2 end = 5 l = 4 (No of steps you can take towards left) r = 3 (No of steps you can take towards the right) Find the operations you need to take to reach from start to end. in the form of ["L", "R", "R"] or ["L", "R", "L", "L"], etc.
avatar

Backend Engineer

Interviewed at Healofy

3.9
Aug 1, 2021

Q: Assume you have a number line starting from zero. You start from index "start", trying to reach index "end" by only performing operations "l" and "r" that signify the number of steps you can take towards left or right respectively. On the number line, there are some indexes marked which you cannot visit, let's mark them as "-1". For example, consider the input as below: arr = [0, 1, 2, 3, -1, 5, 6, 7, -1, 9, 10] start = 2 end = 5 l = 4 (No of steps you can take towards left) r = 3 (No of steps you can take towards the right) Find the operations you need to take to reach from start to end. in the form of ["L", "R", "R"] or ["L", "R", "L", "L"], etc.

Viewing 1861 - 1870 interview questions

Glassdoor has 15,496 interview questions and reports from Software de backend interviews. Prepare for your interview. Get hired. Love your job.