CoderPad round with goldman Sachs
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.
Full Experience
Hi folks,
I had my coderpad round with Goldman sachs two days back, I was asked two questions:-
- Find the maximum number of non-overlapping activities, given their start and end times
- 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.
Interview Questions (2)
Maximum Non-Overlapping Activities
Find the maximum number of non-overlapping activities, given their start and end times
Shortest Path Stations
Given a source and destination, print all the stations in the shortest path between them.