Goldman Sachs | Analyst Role | CoderPad Round

goldman sachs logo
goldman sachs
Analyst Role
May 1, 20255 reads

Summary

I applied for the Analyst role at Goldman Sachs through a referral and attended a CoderPad round, where I was asked to solve two variations of LeetCode problems and discuss their complexity.

Full Experience

Goldman Sachs CoderPad Round Experience

I applied through a referral and received an email to attend the CoderPad round within 2 weeks of applying.

Questions

  1. Variation of https://leetcode.com/problems/high-five/description/
  2. Variation of https://leetcode.com/problems/fraction-to-recurring-decimal/description/

I was asked to analyze the time and space complexity at the end of each question. I was also asked to create my own test cases and suggest improvements in my code if the input constraints were changed.

Interview Questions (2)

Q1
High Five (Variation)
Data Structures & Algorithms

A variation of the High Five problem. The original problem involves calculating the average of the top five scores for each student. During the interview, I was expected to analyze time and space complexity, create my own test cases, and suggest improvements in my code if the input constraints were changed.

Q2
Fraction to Recurring Decimal (Variation)
Data Structures & Algorithms

A variation of the Fraction to Recurring Decimal problem. The original problem involves converting a given fraction to its decimal representation, handling repeating decimals. During the interview, I was expected to analyze time and space complexity, create my own test cases, and suggest improvements in my code if the input constraints were changed.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

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