Goldman Sachs Coding & Algorithms Interview Questions
Master your tech interview with our curated database of real questions from top companies.
4Questions
1Company
4 Questions 1 Company
Showing 4 results
Goldman Sachs
Nan
Software EngineerFind first non-repeating character index
You are given two separate coding tasks. Task 1: First Unique Character Given a string s (lowercase/ASCII letters), return the index of the first char...
Coding & Algorithms
0
0
Dec 15, 2025
Goldman Sachs
Medium
Software EngineerSolve string and hashmap interview tasks
Coding questions (solve both) 1) First non-repeating character Given a string s, return the first character that appears exactly once in the string. -...
Coding & Algorithms
0
0
Dec 9, 2025
Goldman Sachs
Medium
Software EngineerCount segments and optimize 3-server assignment
There are two independent programming tasks. --- Problem 1: Transaction Segments You are given: - An integer n, the length of an array. - An integer k...
Coding & Algorithms
0
0
Dec 7, 2025
Goldman Sachs
Hard
Machine Learning EngineerComplete decision tree and gradient descent functions
You are given partially implemented code and must complete key functions. Implement the missing parts with correct logic and reasonable efficiency. Ta...
Coding & Algorithms
0
0
Oct 10, 2025