Goldman Sachs | CoderPad Round | Bangalore/Hyd Location
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.
Full Experience
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.
Interview Questions (2)
Longest Continuous Characters
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
Max Value Path in 2D Grid
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