QUESTIONS BY COMPANY

Goldman Sachs LeetCode Questions 2026

Browse LeetCode problems frequently asked by Goldman Sachs. Filter by difficulty and timeframe to focus your interview prep.

Last updated: 20 Feb 2026

ProblemDifficultyFrequencyTopics
Two SumEASY
50%
ArrayHash Table
Add Two NumbersMEDIUM
37.5%
Linked ListMathRecursion
Longest Substring Without Repeating CharactersMEDIUM
62.5%
Hash TableStringSliding Window
Median of Two Sorted ArraysHARD
75%
ArrayBinary SearchDivide and Conquer
Longest Palindromic SubstringMEDIUM
37.5%
Two PointersStringDynamic Programming
String to Integer (atoi)MEDIUM
37.5%
String
Container With Most WaterMEDIUM
62.5%
ArrayTwo PointersGreedy
Integer to RomanMEDIUM
25%
Hash TableMathString
Roman to IntegerEASY
37.5%
Hash TableMathString
Letter Combinations of a Phone NumberMEDIUM
25%
Hash TableStringBacktracking
3SumMEDIUM
25%
ArrayTwo PointersSorting
Valid ParenthesesEASY
37.5%
StringStack
Merge Two Sorted ListsEASY
25%
Linked ListRecursion
Next PermutationMEDIUM
37.5%
ArrayTwo Pointers
Search in Rotated Sorted ArrayMEDIUM
62.5%
ArrayBinary Search
First Missing PositiveHARD
25%
ArrayHash Table
Trapping Rain WaterHARD
100%
ArrayTwo PointersDynamic ProgrammingStackMonotonic Stack
Jump Game IIMEDIUM
25%
ArrayDynamic ProgrammingGreedy
Rotate ImageMEDIUM
25%
ArrayMathMatrix
Group AnagramsMEDIUM
50%
ArrayHash TableStringSorting

Need Help Solving These Problems?

CodingInterviewAI can instantly identify algorithms and generate optimal solutions for any LeetCode problem. Get step-by-step explanations and ace your next technical interview.

CodingInterviewAI logo

© 2026 CodingInterviewAI. All rights reserved

CodingInterviewAI

HomeBlogGive Feedback