Goldman Sachs vs Okta Interview Questions

Goldman Sachs lists 261 LeetCode interview questions while Okta lists 20. They share 13 problems — 5% of Goldman Sachs's bank and 65% of Okta's. Focus on the overlap first, then drill into 248 Goldman Sachs-only and 7 Okta-only questions.

Overview

Goldman Sachs

261 questions

Easy 48Medium 165Hard 48
Okta

20 questions

Easy 0Medium 15Hard 5

Preparation Strategy

Step 1 — Shared core: Solve the 13 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Goldman Sachs and Okta.

Step 2 — Company-specific depth: Add Goldman Sachs-specific problems like Trapping Rain Water, First Unique Character in a String, Fraction to Recurring Decimal and Okta-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Okta skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
Goldman Sachs
48
Okta
0
Medium
Goldman Sachs
165
Okta
15
Hard
Goldman Sachs
48
Okta
5

Top Shared Topics

13 Shared Questions

High-priority problems to practice for both Goldman Sachs and Okta.

ProblemDifficulty
Median of Two Sorted ArraysHard
LRU CacheMedium
Container With Most WaterMedium
Merge IntervalsMedium
Group AnagramsMedium
Number of IslandsMedium
Product of Array Except SelfMedium
Daily TemperaturesMedium
Find Median from Data StreamHard
Longest Consecutive SequenceMedium
Task SchedulerMedium
Simple Bank SystemMedium
Word LadderHard

Unique to Goldman Sachs (248)

Problems in Goldman Sachs's list that do not appear at Okta.

ProblemDifficulty
Trapping Rain WaterHard
First Unique Character in a StringEasy
Fraction to Recurring DecimalMedium
High FiveEasy
Minimum Path SumMedium
Longest Substring Without Repeating CharactersMedium
String CompressionMedium
Find the Winner of the Circular GameMedium
Robot Bounded In CircleMedium
Decode WaysMedium
Search in Rotated Sorted ArrayMedium
Best Time to Buy and Sell StockEasy

Unique to Okta (7)

Problems in Okta's list that do not appear at Goldman Sachs.

ProblemDifficulty
Insert Delete GetRandom O(1)Medium
All Nodes Distance K in Binary TreeMedium
Making File Names UniqueMedium
Range Sum Query 2D - ImmutableMedium
Reverse Substrings Between Each Pair of ParenthesesMedium
Word Ladder IIHard
Insert Delete GetRandom O(1) - Duplicates allowedHard

Frequently Asked Questions

How many LeetCode questions do Goldman Sachs and Okta share?

Goldman Sachs and Okta share 13 LeetCode interview questions. 248 problems appear only in Goldman Sachs's list and 7 appear only in Okta's list.

What topics overlap most between Goldman Sachs and Okta?

The most common shared topics between Goldman Sachs and Okta are Array (10 shared questions), Hash Table (6 shared questions), Sorting (4 shared questions), Design (3 shared questions), Two Pointers (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Goldman Sachs or Okta?

Goldman Sachs has 48 Easy, 165 Medium, and 48 Hard questions. Okta has 0 Easy, 15 Medium, and 5 Hard questions. Okta has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Goldman Sachs and Okta?

Start with the 13 shared problems since they cover what both companies ask most often. Then add 20 Goldman Sachs-specific and 7 Okta-specific questions to round out your prep.

Explore More