Fragen aus Vorstellungsgesprächen für backend, von Bewerbern geteilt
Make recipe APIs for HelloFresh
You can get the full application in Dhiraj Patra github repo.
Not gonna lie, your code is pretty bad, no separations of concerns, no contextual logging. The position was for a senior engineer, your stuff is junior level at best. Don't lash people out for your inadequacy of the role.
Sorry but I have to be honest, your code is pretty bad. To me the true is, you are not good enough and that's it. You also were very anti ethical exposing the whole code challenging to your Github
Given an integer, re-arrange the integer such that first and last digit will be at first and second, second and second last digit will be at third and fourth position from left of the re-arranges integer and so on. Example: Input -> 12345678, Output -> 18273645 Input -> 1234567, Output -> 1726354
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