Goldman Sachs | CoderPad Round | Bangalore/Hyd Location

Location
Bangalore/Hyderabad
Posted
12 Mar 2025
453 reads

Summary

I had a CoderPad round with Goldman Sachs where I was given two DSA questions to solve within a predefined function, handling edge cases and writing basic test cases.

How it went

My CoderPad round for Goldman Sachs was scheduled for March 12th. The interview was conducted on Zoom, and the Data Structures and Algorithms questions were presented on the GS CoderPad platform. I was given two coding problems and instructed to write optimal solutions within a predefined function. Additionally, I had to consider edge cases and provide basic test cases to validate my solutions for both problems.

Questions asked (2)

  1. 01

    Longest Continuous Characters

    Data Structures & Algorithms

    Given a string like "aabbbbccd", find the starting index and length of the longest continuous characters in the string.
    Example: "aabbbbccd"
    Expected Output: 2, 4

  2. 02

    Max Value Path in 2D Grid

    Data Structures & Algorithms

    Given a 2D grid, each cell has an item which has value >=0. We are standing at the bottom-left cell of the grid and need to reach the top-right cell. So we need to reach from r-1, 0 to 0, c-1 with the maximum possible value.
    Example:

    0 0 5
    0 1 0
    2 0 1
    

    Expected Output: 8

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!