Q: Given a sorted array(with possible repeated elements), you have to find the range of a target number if present in the array, if not, then print they are not present.
Backend Engineer Interview Questions
15,491 backend engineer interview questions shared by candidates
Minimum number of stops to refuel the car and reach the destination
How will you scale the system?
Write a code to reverse a string?
DSA question is based on Tree.
Why do you want to work with Cordis ?
What is Golang’s slices implementation?
Take the following func in Python: def func(input1, input2): j = 0 count = 0 ret = "" i = 0 while i < len(input1): ret = ret + input1[i] if input1[i] == input2[j]: j = j + 1 if len(input2) == j ret = ret[0: (i-j)+1] + ("-" * len(input2)) j = 0 count = count + 1 i = i + 1 return ret, count For the following inputs, here's the outputs (for example only): bba, bb => --a, 2. It's like a masking function of the 2nd string inside the 1st string. The question: The function has a small bug, find an input that the function will return an incorrect ouput for it. After that, fix the bug.
How would you develop a custom module?
Which tool do you use for package management
Viewing 1591 - 1600 interview questions