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.
Backend Engineer Interview Questions
14,385 backend engineer interview questions shared by candidates
Given nine seemingly identical spheres , eight of which with the same weight and one with a superior weight; how would you determine their weight with only two tests on the weight scale ?
LC medium level. Lots of string manipulation (regular expressions are your friend)
return parent node
What was the year instagram debued on android
A lot of "do you have any questions for us?"
Introduce yourself, what is the important trait of any new team for you, what are your goals, why did you leave your company.
Build a REST API with CRUD commands within 4 days
In a system with three services where Service 2 depends on Service 1 and Service 3 depends on Service 2, how would you ensure high availability and quick responses if any service fails?
Write a program to classify a password as **High-secure**, **Medium-secure**, or **Low-secure** based on specific criteria such as small case, uppercase, special character and numbers
Viewing 1731 - 1740 interview questions