Katkat

Company

Goldman Sachs interview questions

35 practice questions in the style of Goldman Sachs's interviews, covering Behavioral & Leadership, Statistics & Math, Software Engineering Fundamentals, Coding & Algorithms, System Design, Machine Learning, Product / Decision Making.

Questions35

10 easy23 medium2 hard

Your progress0/35

Goldman Sachs interview questions by the numbers

Last updated

Katkat has 35 Goldman Sachs interview questions. The largest topics are Coding & Algorithms (40%), Statistics & Math (20%) and Behavioral & Leadership (17%). By difficulty: 29% easy, 66% medium and 6% hard. The most common round is Onsite (37%). Frequent concepts include Graphs, Linear Algebra, matrix and Strings.

Difficulty

  • Easy29% · 10
  • Medium66% · 23
  • Hard6% · 2

Interview rounds

  • Onsite37% · 13
  • Technical Screen34% · 12
  • Online Assessment29% · 10

Roles

  • Software Engineer54% · 19
  • Data Scientist17% · 6
  • Product Manager11% · 4
  • Quantitative Researcher11% · 4
  • Machine Learning Engineer6% · 2

Frequent concepts

  • Graphs6% · 2
  • Linear Algebra6% · 2
  • matrix6% · 2
  • Strings6% · 2
  • System Design6% · 2
  • Algorithms3% · 1

Showing 1–30 of 35 results

  • Practice behavioral PM answers for decision-making and growth in regulated, data-heavy domains. The guide covers upskilling plans, learning backlogs, build-versus-buy trade-offs, projects derailed by external events, risk and compliance handling, customer discovery, metrics, and cross-functional leadership.

    Goldman SachsProduct ManagerBehavioral & LeadershipOnsite
  • Determine the set of possible values for the rank of the matrix product BA given that A and B are 4x4 real matrices and rank(AB) = 2. This question tests fundamental linear algebra inequalities involving matrix ranks and nullities.

    Goldman SachsData ScientistStatistics & MathOnline Assessment
  • Tests understanding of caching trade-offs (latency, freshness, memory overhead) and the implementation of a fixed-capacity Least Recently Used (LRU) cache supporting constant-time operations.

    Goldman SachsSoftware EngineerSoftware Engineering FundamentalsOnsite
  • Tests dynamic programming on a grid to find an optimal path from the bottom-left to top-right corner using constrained directional moves.

    Goldman SachsSoftware EngineerCoding & AlgorithmsOnsite
  • This question evaluates implementation skills in supervised machine learning and numerical optimization, specifically computing Gini impurity and selecting optimal binary splits for a decision tree alongside deriving and applying a single-step gradient descent update for linear regression.

    Goldman SachsMachine Learning EngineerCoding & AlgorithmsOnline Assessment
  • Tests single-variable calculus fundamentals, specifically calculating the derivative, setting up the standard arc length integral, and evaluating it using substitution.

    Goldman SachsData ScientistStatistics & MathOnline Assessment
  • This question tests your ability to identify palindromes within a string using expansion around centers or dynamic programming.

    Goldman SachsData ScientistCoding & AlgorithmsOnline Assessment
  • This two-part problem evaluates array-processing and counting competency for identifying fixed-length strictly increasing subarrays and combinatorial partitioning and optimization competency for assigning elements to three groups to maximize a minimal pairwise-difference metric, and is commonly asked to assess efficient algorithm design, correctness under constraints, and the ability to handle large inputs. Belonging to the Coding & Algorithms domain, it tests practical algorithmic application, data-structure-aware implementation and complexity analysis rather than purely theoretical understanding.

    Goldman SachsSoftware EngineerCoding & AlgorithmsOnline Assessment
  • This question evaluates interpersonal and ethical competencies such as ownership, leadership, communication, conflict resolution, and professional integrity in the context of software project work.

    Goldman SachsSoftware EngineerBehavioral & LeadershipTechnical Screen
  • Design a scalable text sharing (Pastebin) service that generates unique short URLs for submitted text snippets. This question assesses API design, data modeling, storage decoupling, key generation strategies, and caching mechanisms under high read concurrency.

    Goldman SachsSoftware EngineerSystem DesignOnsite
  • Design the backend of a dashboard that shows metrics computed from a continuous event stream and lets users query any time range. The discussion focuses on answering range queries from pre-aggregated data and on how watermarks decide when event-time windows are complete despite late or out-of-order events.

    Goldman SachsSoftware EngineerSystem DesignOnsite
  • Design a high-throughput, low-latency in-memory deduplication service that identifies and suppresses duplicate notifications within a 10-minute sliding window.

    Goldman SachsSoftware EngineerSystem DesignOnsite
  • This problem tests your ability to design a tree-based hierarchical resource management system and implement efficient operations for path-based access, relocation, and cycle detection.

    Goldman SachsSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Using only a square piece of cardboard and a fair six-sided die, design an experiment that estimates pi empirically, then explain how many trials 5 to 6 correct decimal places would require and how you would get there. It tests Monte Carlo design, bias versus variance, and error analysis.

    Goldman SachsQuantitative ResearcherStatistics & MathTechnical Screen
  • This question evaluates competency in binary classification metrics (confusion matrices, TPR/FPR), basic neural network forward computation (sigmoid neuron z and output), and knowledge of activation function selection and pitfalls.

    Goldman SachsMachine Learning EngineerMachine LearningOnline Assessment
  • Tests understanding of linearity of expectation and indicator random variables through counting consecutive runs in a sequence of coin tosses.

    Goldman SachsData ScientistStatistics & MathOnline Assessment
  • Given a list of child-to-parent pairs that form a forest of rooted trees, return the root ID of the tree with the most nodes, breaking size ties by the smallest root ID. Tests building a forest from an edge list, identifying roots, counting tree sizes, and applying a precise tie-break rule.

    Goldman SachsSoftware EngineerCoding & AlgorithmsTechnical Screen
  • Walk through how a quantitative equity team turns a predictive signal into portfolio holdings, then explain how to judge whether the signal is reliable, whether its performance depends on the market regime, and how entropy and mutual information can be used to evaluate signals and portfolios.

    Goldman SachsQuantitative ResearcherStatistics & MathTechnical Screen
  • Compute the highest average score among students from name and score records, then extend the code for data larger than memory, negative scores, integer overflow and multithreaded processing. The question also covers what atomic operations are in Java and how synchronized differs from ReentrantLock.

    Goldman SachsSoftware EngineerSoftware Engineering FundamentalsOnsite
  • Prepare for the How to answer HireVue behavioral prompts interview question with a structured prompt, clarifying questions, answer rubric, follow-up probes, and a stronger model solution. This behavioral & leadership guide helps candidates frame assumptions, trade-offs, metrics, and role-relevant evidence without relying on generic answers.

    Goldman SachsProduct ManagerBehavioral & LeadershipTechnical Screen
  • This question evaluates conflict resolution, leadership communication, ethical judgment, and secure-data governance for a software engineer managing collaborator disagreement and requests involving sensitive information.

    Goldman SachsSoftware EngineerBehavioral & LeadershipTechnical Screen
  • This question evaluates competence with fundamental data structures and algorithms by requiring an implementation of a string double-ended queue (deque), checking understanding of constant-time (O(1)) operations, manipulation of node links or references, and correct handling of edge cases; category: Coding & Algorithms; level: practical implementation rather than purely conceptual. It is commonly asked to assess the ability to implement low-level data structure mechanics, guarantee performance bounds, and expose attention to correctness and boundary conditions in algorithmic coding tasks.

    Goldman SachsSoftware EngineerCoding & AlgorithmsTechnical Screen
  • This question tests the understanding of matrix invertibility, the properties of the identity matrix, and the fundamental differences between square and non-square matrix multiplication.

    Goldman SachsData ScientistStatistics & MathOnline Assessment
  • This question tests the ability to integrate probability density functions (PDFs) over specified intervals, specifically handling the absolute value function in symmetric distributions.

    Goldman SachsData ScientistStatistics & MathOnline Assessment
  • Practice leading a distributed cross-divisional team in a regulated industry. The solution covers team charters, RACI/DACI, async communication, time-zone fairness, cultural norms, compliance-by-design, decision logs, trust-building rituals, first-30-day priorities, and team-health metrics.

    Goldman SachsProduct ManagerBehavioral & LeadershipOnsite
  • This question tests a candidate's ability to apply digit dynamic programming to efficiently count integers with specific digit-sum properties over large numeric ranges. It evaluates algorithmic thinking at the intersection of combinatorics and optimization, a category commonly assessed in technical interviews to measure comfort with non-obvious problem reductions and complexity trade-offs.

    Goldman SachsProduct ManagerProduct / Decision MakingOnline Assessment
  • Tests sorting and sliding window techniques to maximize an element's frequency within an increment budget.

    Goldman SachsSoftware EngineerCoding & AlgorithmsOnsite
  • Given a complete matrix of possibly asymmetric travel costs between up to 16 cities, return the minimum cost of a round trip that starts at city 0, visits every other city exactly once and returns to city 0. The problem tests exact optimization over subsets of cities within tight limits.

    Goldman SachsQuantitative ResearcherCoding & AlgorithmsTechnical Screen
  • Starting from a list of meeting time intervals, decide whether one person can attend them all, then find the minimum number of rooms without a sweep line, order the meetings without a library sort, handle a stream of meetings, and explain how a Kafka-style append-only log broker works. It tests heaps, sorting, streaming and log storage.

    Goldman SachsSoftware EngineerSoftware Engineering FundamentalsOnsite
  • This problem tests your ability to model a grid-based movement simulation as a graph reachability problem, requiring efficient state traversal.

    Goldman SachsSoftware EngineerCoding & AlgorithmsOnsite

Goldman Sachs interview experiences

All 3 →
  • Two Phone Screens, Handwritten Onsite Code, Verbal OfferGoldman Sachs · Software Engineer · Onsite · Oct 2026
    Offer

    A recruiter reached out to me and kept checking whether I minded being in the office 5 days a week (I told them several times that Amazon is 5 days too, so I'm hardly in a position to mind). First there was a 40 minute screening: write 2 SQL queries and fix a Java Spring API (I honestly could not figure out why the last two tests were failing). Camera on and screen recording the whole time. I loo…

  • Two GSAM Quant Roles, Live Coding Plus TSP, Then No HeadcountGoldman Sachs · Quantitative Researcher · Onsite · Sep 2026

    I interviewed for two GSAM quant roles at the same time. Role one was more like a fund of funds kind of group. First round was live coding: power of ten and Newton's method square root. Second round was already the final round on-site: one medium problem that was not the usual kind, one expected value problem, and one round that was purely chatting about my experience. Role two was the equity SMA…

  • Two-Hour Online Assessment with Two ProblemsGoldman Sachs · Software Engineer · Online Assessment · Dec 2025

    2 hours to solve two problems: Transaction Segments Given an array transactionValues of length n, where transactionValues[i] is the transaction amount at time i. Count the number of contiguous subarrays that are strictly increasing and have length exactly k. Strictly increasing means: transactionValues[i]

More companies