CoderPad round with goldman Sachs

Posted
4 Jun 2025
343 reads

Summary

I had a CoderPad round with Goldman Sachs, where I was asked two questions: one on activity selection and another on finding the shortest path between stations. I was able to solve both questions with optimized solutions.

How it went

Hi folks,

I had my coderpad round with Goldman sachs two days back, I was asked two questions:-

  1. Find the maximum number of non-overlapping activities, given their start and end times
  2. Given a source and destination, print all the stations in the shortest path between them.

I was able to solve both the questions with optimized solutions.

Questions asked (2)

  1. 01

    Maximum Non-Overlapping Activities

    Data Structures & Algorithms · Medium

    Find the maximum number of non-overlapping activities, given their start and end times

  2. 02

    Shortest Path Stations

    Data Structures & Algorithms · Medium

    Given a source and destination, print all the stations in the shortest path between them.

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!