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

Infosys

105 questions

Easy 32Medium 57Hard 16
Okta

20 questions

Easy 0Medium 15Hard 5

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

Easy
Infosys
32
Okta
0
Medium
Infosys
57
Okta
15
Hard
Infosys
16
Okta
5

Top Shared Topics

7 Shared Questions

High-priority problems to practice for both Infosys and Okta.

ProblemDifficulty
Product of Array Except SelfMedium
Merge IntervalsMedium
Group AnagramsMedium
Number of IslandsMedium
Longest Consecutive SequenceMedium
Median of Two Sorted ArraysHard
Container With Most WaterMedium

Unique to Infosys (98)

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

ProblemDifficulty
Maximum Good Subtree ScoreHard
Two SumEasy
Find Building Where Alice and Bob Can MeetHard
Minimum Reverse OperationsHard
Count the Number of Ideal ArraysHard
Transform Array by ParityEasy
Eat Pizzas!Medium
Longest Substring Without Repeating CharactersMedium
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Maximize the Minimum Game ScoreHard
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy

Unique to Okta (13)

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

ProblemDifficulty
LRU CacheMedium
Insert Delete GetRandom O(1)Medium
Simple Bank SystemMedium
All Nodes Distance K in Binary TreeMedium
Find Median from Data StreamHard
Daily TemperaturesMedium
Task SchedulerMedium
Making File Names UniqueMedium
Range Sum Query 2D - ImmutableMedium
Reverse Substrings Between Each Pair of ParenthesesMedium
Word Ladder IIHard
Word LadderHard

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.

Explore More