Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. Goldman Sachs

Goldman Sachs LeetCode Interview Questions

Practice 30 real coding problems frequently asked in Goldman Sachs technical interviews. Master these questions to ace your next Goldman Sachs software engineering interview.

10 Easy
16 Medium
4 Hard

Top Topics at Goldman Sachs

ArrayStringHash TableBinary SearchTwo Pointers

Ace your Goldman Sachs interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Goldman Sachs Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
100%
MediumM
100%
ArrayQueue+4
Solve→
Open the Lock
82%
MediumM
82%
ArrayHash Table+2
Solve→
Implement Queue using Stacks
78%
EasyE
78%
StackDesign+1
Solve→
Search in Rotated Sorted Array
76%
MediumM
76%
ArrayBinary Search
Solve→
Is Subsequence
76%
EasyE
76%
Two PointersString+1
Solve→
Evaluate Division
73%
MediumM
73%
ArrayString+5
Solve→
Sliding Window Maximum
72%
HardH
72%
ArrayQueue+3
Solve→
Insert Delete GetRandom O(1) - Duplicates allowed
70%
HardH
70%
ArrayHash Table+3
Solve→
Word Ladder II
63%
HardH
63%
Hash TableString+2
Solve→
Boundary of Binary Tree
62%
MediumM
62%
TreeDepth-First Search+1
Solve→
Maximum Number of Occurrences of a Substring
61%
MediumM
61%
Hash TableString+1
Solve→
Pow(x, n)
60%
MediumM
60%
MathRecursion
Solve→
Group Anagrams
54%
MediumM
54%
ArrayHash Table+2
Solve→
4Sum
53%
MediumM
53%
ArrayTwo Pointers+1
Solve→
Count Unhappy Friends
52%
MediumM
52%
ArraySimulation
Solve→
Search Insert Position
52%
EasyE
52%
ArrayBinary Search
Solve→
Search Suggestions System
52%
MediumM
52%
ArrayString+4
Solve→
Ransom Note
51%
EasyE
51%
Hash TableString+1
Solve→
Plus One
49%
EasyE
49%
ArrayMath
Solve→
Goat Latin
45%
EasyE
45%
String
Solve→
Merge Strings Alternately
44%
EasyE
44%
Two PointersString
Solve→
N-Queens
41%
HardH
41%
ArrayBacktracking
Solve→
Create Hello World Function
37%
EasyE
37%
Solve→
Max Consecutive Ones III
37%
MediumM
37%
ArrayBinary Search+2
Solve→
Binary Tree Right Side View
37%
MediumM
37%
TreeDepth-First Search+2
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Shortest Word Distance II
31%
MediumM
31%
ArrayHash Table+3
Solve→
Valid Palindrome
29%
EasyE
29%
Two PointersString
Solve→
Maximum Units on a Truck
28%
EasyE
28%
ArrayGreedy+1
Solve→
Search a 2D Matrix
20%
MediumM
20%
ArrayBinary Search+1
Solve→
Insert into a Sorted Circular Linked List
20%
MediumM
20%
Linked List
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

Abbott
30 problems
Affinipay
30 problems
Alphasense
30 problems
Analog Devices
30 problems
Ancestry
30 problems
Appfolio
30 problems

Frequently Asked Questions

What LeetCode problems does Goldman Sachs ask in interviews?

Goldman Sachs commonly asks 30 coding problems in technical interviews, including Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit, Open the Lock, Implement Queue using Stacks. The difficulty breakdown is 10 Easy, 16 Medium, and 4 Hard problems.

How should I prepare for a Goldman Sachs coding interview?

Focus on the most frequently asked problems first, especially those with high frequency scores. Goldman Sachs interviews typically emphasize Array and String. Practice explaining your thought process while coding.

What is the difficulty level of Goldman Sachs coding interviews?

Based on our data, Goldman Sachs interviews include 10 Easy (33%), 16 Medium (53%), and 4 Hard (13%) problems.

Ready to ace your Goldman Sachs interview?

Join thousands of engineers who landed offers at top tech companies.

Get Started Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.