Goldman-Sachs Logo

Goldman-Sachs Questions

Here are the LeetCode questions for Goldman-Sachs.

Total: 311
Easy: 60
Medium: 195
Hard: 56
Progress: 0%

Topic Frequency Analysis

All Topics

Rank Topic Frequency Percentage
1 Array 171
55.0%
2 String 80
25.7%
3 Dynamic Programming 63
20.3%
4 Hash Table 62
19.9%
5 Math 50
16.1%
6 Sorting 45
14.5%
7 Two Pointers 41
13.2%
8 Greedy 35
11.3%
9 Depth-First Search 31
10.0%
10 Stack 30
9.6%
11 Matrix 29
9.3%
12 Binary Search 27
8.7%
13 Breadth-First Search 27
8.7%
14 Heap (Priority Queue) 19
6.1%
15 Tree 18
5.8%
16 Bit Manipulation 15
4.8%
17 Binary Tree 15
4.8%
18 Linked List 14
4.5%
19 Simulation 14
4.5%
20 Backtracking 13
4.2%
21 Monotonic Stack 13
4.2%
22 Counting 12
3.9%
23 Prefix Sum 12
3.9%
24 Divide and Conquer 11
3.5%
25 Graph Theory 11
3.5%
26 Recursion 11
3.5%
27 Design 10
3.2%
28 Sliding Window 10
3.2%
29 Trie 9
2.9%
30 Union-Find 7
2.3%
31 Database 6
1.9%
32 Enumeration 6
1.9%
33 Ordered Set 5
1.6%
34 Binary Search Tree 4
1.3%
35 Queue 4
1.3%
36 Game Theory 4
1.3%
37 Bitmask 4
1.3%
38 Binary Indexed Tree 3
1.0%
39 Segment Tree 3
1.0%
40 Memoization 3
1.0%
41 Geometry 3
1.0%
42 Shortest Path 3
1.0%
43 Topological Sort 2
0.6%
44 Merge Sort 2
0.6%
45 Doubly-Linked List 2
0.6%
46 Interactive 2
0.6%
47 Bucket Sort 2
0.6%
48 Number Theory 2
0.6%
49 Quickselect 2
0.6%
50 Brainteaser 1
0.3%
51 Sweep Line 1
0.3%
52 Rolling Hash 1
0.3%
53 Suffix Array 1
0.3%
54 Concurrency 1
0.3%
55 Combinatorics 1
0.3%
56 Data Stream 1
0.3%
57 Hash Function 1
0.3%
58 Monotonic Queue 1
0.3%
59 Eulerian Circuit 1
0.3%
60 Randomized 1
0.3%
No. Question Title Link Difficulty Solved
1 Design Event Manager Visit Medium
2 Number of Perfect Pairs Visit Medium
3 Find the Minimum Amount of Time to Brew Potions Visit Medium
4 Permutations III Visit Medium
5 Identify the Largest Outlier in an Array Visit Medium
6 Restricted Restricted Hard
7 Restricted Restricted Hard
8 Restricted Restricted Hard
9 Restricted Restricted Hard
10 Restricted Restricted Hard
11 Restricted Restricted Hard
12 Restricted Restricted Hard
13 Restricted Restricted Hard
14 Restricted Restricted Hard
15 Restricted Restricted Hard

Log in to access all 311 questions for free!

Log In

Frequently Asked Questions

Common questions about Goldman-Sachs interviews