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
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
Top Shared Topics
13 Shared Questions
High-priority problems to practice for both Goldman Sachs and Okta.
| Problem | Difficulty |
|---|---|
| Median of Two Sorted Arrays | Hard |
| LRU Cache | Medium |
| Container With Most Water | Medium |
| Merge Intervals | Medium |
| Group Anagrams | Medium |
| Number of Islands | Medium |
| Product of Array Except Self | Medium |
| Daily Temperatures | Medium |
| Find Median from Data Stream | Hard |
| Longest Consecutive Sequence | Medium |
| Task Scheduler | Medium |
| Simple Bank System | Medium |
| Word Ladder | Hard |
Unique to Goldman Sachs (248)
Problems in Goldman Sachs's list that do not appear at Okta.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| First Unique Character in a String | Easy |
| Fraction to Recurring Decimal | Medium |
| High Five | Easy |
| Minimum Path Sum | Medium |
| Longest Substring Without Repeating Characters | Medium |
| String Compression | Medium |
| Find the Winner of the Circular Game | Medium |
| Robot Bounded In Circle | Medium |
| Decode Ways | Medium |
| Search in Rotated Sorted Array | Medium |
| Best Time to Buy and Sell Stock | Easy |
Unique to Okta (7)
Problems in Okta's list that do not appear at Goldman Sachs.
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.