Backend Engineer Interview Questions

14,346 backend engineer interview questions shared by candidates

Determine whether a circular array with magic indexes contains a full circle. The array is circular in the sense that, the entry A[i] points to entry A[A[i]]. Full circle means it covers all the elements of the array. As a follow-up, I was asked to solve the problem in O(1) space. Example: Input: [2,3,1,4,0], Output: true Input: [2,3,2,4,9], Output: false
avatar

Software Engineer, Backend

Interviewed at Zalando

3.6
Jan 9, 2019

Determine whether a circular array with magic indexes contains a full circle. The array is circular in the sense that, the entry A[i] points to entry A[A[i]]. Full circle means it covers all the elements of the array. As a follow-up, I was asked to solve the problem in O(1) space. Example: Input: [2,3,1,4,0], Output: true Input: [2,3,2,4,9], Output: false

a follow up question - the allowed parentheses are {} [] and () and there is hierarchy { -> [ -> ( meaning that { cannot be nested inside [ or ( and [ cannot be nested inside ( how would you check validity given these constraints?
avatar

Backend developer

Interviewed at Resonai

4.8
Dec 18, 2022

a follow up question - the allowed parentheses are {} [] and () and there is hierarchy { -> [ -> ( meaning that { cannot be nested inside [ or ( and [ cannot be nested inside ( how would you check validity given these constraints?

Viewing 61 - 70 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 14,346 interview questions and reports from Backend engineer interviews. Prepare for your interview. Get hired. Love your job.