Goldman Sachs HackerRank OA - Interview Experience

goldman sachs logo
goldman sachs
April 5, 2025 · 41 reads

Summary

I received a HackerRank test from Goldman Sachs and successfully solved both problems, passing all test cases. I am now seeking insights on the chances of advancing to the next rounds.

Full Experience

Please let me know in the comments if you have similar experience and chances of getting into next rounds.

I haved received hackerrank test link from goldman sachs.Solved both problems and all possible test cases are passed.

Interview Questions (2)

1.

Book Cricket Game (Coin Change Variation)

Data Structures & Algorithms

Given an input array of possible run scores (e.g., [2,4,6]) and a target total score n, determine how many possible ways there are to make up that total score using the runs in the input array. This is a variation of the coin change problem.

2.

Burst Array (Remove Consecutive Repetitive Chars)

Data Structures & Algorithms

Given an input array (e.g., ['a','b','c','c','c','b','b','d','d','d','f','g']) and a burstlength (e.g., 3), remove consecutive repetitive characters if their length is greater than or equal to the burstlength. The final output array should not contain any consecutive repetitive characters of burstlength or more.

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!