Goldman-Sachs Logo

Goldman-Sachs Questions

Here are the LeetCode questions for Goldman-Sachs.

Total: 301
Easy: 58
Medium: 189
Hard: 54
Progress: 0%

Topic Frequency Analysis

All Topics

Rank Topic Frequency Percentage
1 Array 167
55.5%
2 String 76
25.2%
3 Dynamic Programming 60
19.9%
4 Hash Table 59
19.6%
5 Math 50
16.6%
6 Sorting 45
15.0%
7 Two Pointers 39
13.0%
8 Greedy 34
11.3%
9 Depth-First Search 29
9.6%
10 Matrix 29
9.6%
11 Stack 28
9.3%
12 Binary Search 27
9.0%
13 Breadth-First Search 27
9.0%
14 Heap (Priority Queue) 19
6.3%
15 Tree 16
5.3%
16 Linked List 14
4.7%
17 Bit Manipulation 14
4.7%
18 Binary Tree 14
4.7%
19 Backtracking 13
4.3%
20 Monotonic Stack 13
4.3%
21 Simulation 13
4.3%
22 Prefix Sum 12
4.0%
23 Divide and Conquer 11
3.7%
24 Graph Theory 11
3.7%
25 Recursion 11
3.7%
26 Design 10
3.3%
27 Sliding Window 10
3.3%
28 Counting 10
3.3%
29 Trie 9
3.0%
30 Union-Find 7
2.3%
31 Database 6
2.0%
32 Enumeration 6
2.0%
33 Ordered Set 5
1.7%
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.7%
44 Merge Sort 2
0.7%
45 Doubly-Linked List 2
0.7%
46 Interactive 2
0.7%
47 Bucket Sort 2
0.7%
48 Number Theory 2
0.7%
49 Quickselect 2
0.7%
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 Number of Perfect Pairs Visit Medium
2 Find the Minimum Amount of Time to Brew Potions Visit Medium
3 Permutations III Visit Medium
4 Identify the Largest Outlier in an Array Visit Medium
5 Minimum Number of Chairs in a Waiting Room Visit Easy
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 301 questions for free!

Log In

Frequently Asked Questions

Common questions about Goldman-Sachs interviews