I was given an OA for a Software Engineer role. I was asked two easy/medium LeetCode-level questions, which I answered in less than half the allotted time. I was then invited for a CoderPad round.
Find a cycle in an array: You are given an integer array of size N. Every element of the array is greater than or equal to 0.
Starting from arr[startIndex], follow each element to the index it points to. Continue to do this until you find a cycle.
Return the length of the cycle. If no cycle is found, return -1.
Examples: countLengthOfCycle([1, 0], 1) == 2 countLengthOfCycle([1, 2, 0], 0) == 3
Median of two sorted Arrays
The following metrics were computed from 1 interview experience for the Goldman Sachs Software Engineer Associate role in San Diego, California.
Goldman Sachs's interview process for their Software Engineer Associate roles in San Diego, California is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Goldman Sachs's Software Engineer Associate interview process in San Diego, California.