Goldman Sachs HackerRank OA - Interview Experience

Posted
5 Apr 2025
303 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.

How it went

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.

Questions asked (2)

  1. 01

    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. 02

    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.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Goldman Sachs recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

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