Goldman Sachs-Logo
Goldman Sachs
Previous Year Questions
Trapping Rain Water
Hard
High Five
Easy
Minimum Size Subarray Sum
Medium
Game of Life
Medium
Median of Two Sorted Arrays
Hard
Knight Probability in Chessboard
Medium
First Unique Character in a String
Easy
Fraction Addition and Subtraction
Medium
String Compression
Easy
Shortest Subarray with Sum at Least K
Hard
Fraction to Recurring Decimal
Medium
Remove Comments
Medium
Product of Array Except Self
Medium
Climbing Stairs
Easy
Group Anagrams
Medium
Reaching Points
Hard
Design HashMap
Easy
Best Time to Buy and Sell Stock
Easy
Robot Bounded In Circle
Medium
Two Sum
Easy
Container With Most Water
Medium
String to Integer (atoi)
Medium
Robot Return to Origin
Easy
Last Substring in Lexicographical Order
Hard
Minimum Path Sum
Medium
LRU Cache
Medium
Find Minimum in Rotated Sorted Array
Medium
Longest Word in Dictionary through Deleting
Medium
Decode Ways
Medium
K-diff Pairs in an Array
Easy
Search in Rotated Sorted Array
Medium
Coin Change
Medium
Super Egg Drop
Hard
Maximum Subarray
Easy
Spiral Matrix
Medium
Pairs of Songs With Total Durations Divisible by 60
Easy
DI String Match
Easy
Kth Largest Element in an Array
Medium
Number of Islands
Medium
The Skyline Problem
Hard
Linked List Cycle
Easy
Best Time to Buy and Sell Stock II
Easy
Pascal's Triangle II
Easy
Wildcard Matching
Hard
Search a 2D Matrix II
Medium
Power of Three
Easy
Subarrays with K Different Integers
Hard
Subarray Sum Equals K
Medium
Reverse Linked List
Easy
Reverse String
Easy
Longest Substring Without Repeating Characters
Medium
Min Stack
Easy
Reconstruct Itinerary
Medium
Minimum Falling Path Sum
Medium
Valid Anagram
Easy
Merge Intervals
Medium
Unique Paths
Medium
LFU Cache
Hard
Edit Distance
Hard
Find Median from Data Stream
Hard
Permutations
Medium
Height Checker
Easy
Count Number of Teams
Medium
Minimum Window Substring
Hard
Longest Word in Dictionary
Easy
Rectangle Overlap
Easy
Palindromic Substrings
Medium
Subsets
Medium
Minimum Area Rectangle
Medium
Find Pivot Index
Easy
Pascal's Triangle
Easy
Friend Circles
Medium
Roman to Integer
Easy
Design In-Memory File System
Hard
Maximum Depth of Binary Tree
Easy
3Sum
Medium
Triangle
Medium
Recover Binary Search Tree
Hard
Add Two Numbers II
Medium
Remove Nth Node From End of List
Medium
Valid Parentheses
Easy
Move Zeroes
Easy
Count Primes
Easy
Path with Maximum Gold
Medium
Cousins in Binary Tree
Easy
Insert Delete GetRandom O(1)
Medium
Shortest Distance from All Buildings
Hard
Pow(x;n)
Medium
Two Sum II - Input array is sorted
Easy
House Robber
Easy
Delete Node in a Linked List
Easy
3Sum Closest
Medium
Validate Binary Search Tree
Medium
Merge k Sorted Lists
Hard
Remove All Adjacent Duplicates in String II
Medium
Combination Sum
Medium
Daily Temperatures
Medium
Course Schedule
Medium
Merge Sorted Array
Easy
Find All Anagrams in a String
Medium
Meeting Rooms II
Medium
Letter Combinations of a Phone Number
Medium
Middle of the Linked List
Easy
Maximum Product of Three Numbers
Easy
Rotate Array
Easy
Intersection of Two Linked Lists
Easy
Unique Paths II
Medium
Top K Frequent Elements
Medium
K Closest Points to Origin
Medium
Corporate Flight Bookings
Medium
Print Zero Even Odd
Medium
Perform String Shifts
Easy
Share this with your loved ones: