Infosys vs Okta Interview Questions
Infosys lists 105 LeetCode interview questions while Okta lists 20. They share 7 problems — 7% of Infosys's bank and 35% of Okta's. Focus on the overlap first, then drill into 98 Infosys-only and 13 Okta-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 7 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Infosys and Okta.
Step 2 — Company-specific depth: Add Infosys-specific problems like Maximum Good Subtree Score, Two Sum, Find Building Where Alice and Bob Can Meet 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
7 Shared Questions
High-priority problems to practice for both Infosys and Okta.
| Problem | Difficulty |
|---|---|
| Product of Array Except Self | Medium |
| Merge Intervals | Medium |
| Group Anagrams | Medium |
| Number of Islands | Medium |
| Longest Consecutive Sequence | Medium |
| Median of Two Sorted Arrays | Hard |
| Container With Most Water | Medium |
Unique to Infosys (98)
Problems in Infosys's list that do not appear at Okta.
Unique to Okta (13)
Problems in Okta's list that do not appear at Infosys.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Simple Bank System | Medium |
| All Nodes Distance K in Binary Tree | Medium |
| Find Median from Data Stream | Hard |
| Daily Temperatures | Medium |
| Task Scheduler | Medium |
| Making File Names Unique | Medium |
| Range Sum Query 2D - Immutable | Medium |
| Reverse Substrings Between Each Pair of Parentheses | Medium |
| Word Ladder II | Hard |
| Word Ladder | Hard |
Frequently Asked Questions
How many LeetCode questions do Infosys and Okta share?
Infosys and Okta share 7 LeetCode interview questions. 98 problems appear only in Infosys's list and 13 appear only in Okta's list.
What topics overlap most between Infosys and Okta?
The most common shared topics between Infosys and Okta are Array (7 shared questions), Sorting (2 shared questions), Hash Table (2 shared questions), Union Find (2 shared questions), Prefix Sum (1 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Infosys or Okta?
Infosys has 32 Easy, 57 Medium, and 16 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 Infosys and Okta?
Start with the 7 shared problems since they cover what both companies ask most often. Then add 20 Infosys-specific and 13 Okta-specific questions to round out your prep.