Goldman Sachs | Coderpad

goldman sachs logo
goldman sachs
· VP
May 6, 2026 · 2 reads

Summary

Interview experience for Goldman Sachs Coderpad round with two coding questions focused on algorithms.

Full Experience

I was contacted for the Coderpad round at Goldman Sachs for the VP position. The interview consisted of two coding problems that tested fundamental algorithmic skills. The first problem involved searching in a rotated sorted array, while the second dealt with processing a forest structure represented by child-parent relationships.

Interview Questions (2)

1.

Find Minimum in Rotated Sorted Array

Data Structures & Algorithms·Medium

Given a sorted rotated array with unique elements, find the minimum element in O(log n) time complexity.

2.

Largest Tree Root in Forest

Data Structures & Algorithms·Medium

Given a forest represented as a collection of child-parent relationships, determine the root node of the largest tree. In case of a tie, return the root with the smallest value.

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!