Skip to content

Goldman Sachs Placement Papers 2024 - Questions & Solutions

Goldman Sachs placement papers 2024 with actual HackerRank assessment questions, DSA problems, and solutions for Engineering Analyst role.

This page contains actual Goldman Sachs placement papers from 2024 with 30+ questions from HackerRank assessment and interviews.

RoundDurationContent
HackerRank OA120 min2-3 coding + aptitude MCQs
Technical 160 minDSA + project
Technical 260 minDSA + CS fundamentals
HR45 minBehavioral + finance interest
A fair coin is tossed 3 times. Probability of at least 2 heads?

Answer: 4/8 = 1/2

Explanation: HHH, HHT, HTH, THH = 4 outcomes out of 8

$10,000 invested at 8% CI for 2 years. Final amount?

Answer: 10000 × (1.08)² = $11,664

If a stock’s P/E ratio is 20 and EPS is $5, what is the stock price?

Answer: P/E × EPS = 20 × 5 = $100

How many ways to arrange letters in GOLDMAN?

Answer: 7! = 5040

If revenue grew from $100M to $121M over 2 years, CAGR?

Answer: (121/100)^(1/2) - 1 = 1.1 - 1 = 10%

Difficulty: Medium
Time: 30 minutes

Find maximum profit from buying and selling stock once.

Input: [7,1,5,3,6,4]
Output: 5 (buy at 1, sell at 6)

Difficulty: Hard
Time: 45 minutes

Find median of two sorted arrays in O(log(m+n)).

Input: nums1 = [1,3], nums2 = [2]
Output: 2.0

Difficulty: Medium
Time: 25 minutes

Group anagrams together.

Input: [“eat”,“tea”,“tan”,“ate”,“nat”,“bat”]
Output: [[“bat”],[“nat”,“tan”],[“ate”,“eat”,“tea”]]

Difficulty: Medium
Time: 30 minutes

Find length of longest increasing subsequence.

Input: [10,9,2,5,3,7,101,18]
Output: 4 ([2,3,7,101])

Difficulty: Medium
Time: 35 minutes

Design LRU Cache with O(1) get and put.

  1. Math Heavy: Strong focus on probability, statistics, finance basics
  2. Stock Problems: Common theme - buy/sell variations
  3. Medium-Hard DSA: Expect binary search, DP, graphs
  4. Finance Interest: HR asks about interest in financial markets
  5. Optimal Solutions: Need efficient algorithms (O(n), O(n log n))

Prepare DSA + basic finance for Goldman Sachs!

Last updated: February 2026