Grammarly vs Infosys Interview Questions

Grammarly lists 30 LeetCode interview questions while Infosys lists 105. They share 7 problems — 23% of Grammarly's bank and 7% of Infosys's. Focus on the overlap first, then drill into 23 Grammarly-only and 98 Infosys-only questions.

Overview

Grammarly

30 questions

Easy 7Medium 19Hard 4
Infosys

105 questions

Easy 32Medium 57Hard 16

Preparation Strategy

Step 1 — Shared core: Solve the 7 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Grammarly and Infosys.

Step 2 — Company-specific depth: Add Grammarly-specific problems like Remove All Adjacent Duplicates In String, Vowel Spellchecker, Insert Delete GetRandom O(1) and Infosys-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Grammarly
7
Infosys
32
Medium
Grammarly
19
Infosys
57
Hard
Grammarly
4
Infosys
16

Top Shared Topics

7 Shared Questions

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

ProblemDifficulty
Merge IntervalsMedium
Search in Rotated Sorted ArrayMedium
Climbing StairsEasy
Sqrt(x)Easy
Generate ParenthesesMedium
Number of IslandsMedium
Trapping Rain WaterHard

Unique to Grammarly (23)

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

ProblemDifficulty
Remove All Adjacent Duplicates In StringEasy
Vowel SpellcheckerMedium
Insert Delete GetRandom O(1)Medium
Remove All Adjacent Duplicates in String IIMedium
Repeated DNA SequencesMedium
Perfect NumberEasy
Logger Rate LimiterEasy
Sum of Left LeavesEasy
Non-overlapping IntervalsMedium
Search Insert PositionEasy
Two Best Non-Overlapping EventsMedium
Evaluate Reverse Polish NotationMedium

Unique to Infosys (98)

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

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

Frequently Asked Questions

How many LeetCode questions do Grammarly and Infosys share?

Grammarly and Infosys share 7 LeetCode interview questions. 23 problems appear only in Grammarly's list and 98 appear only in Infosys's list.

What topics overlap most between Grammarly and Infosys?

The most common shared topics between Grammarly and Infosys are Array (4 shared questions), Dynamic Programming (3 shared questions), Binary Search (2 shared questions), Math (2 shared questions), Sorting (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Grammarly or Infosys?

Grammarly has 7 Easy, 19 Medium, and 4 Hard questions. Infosys has 32 Easy, 57 Medium, and 16 Hard questions. Infosys has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Grammarly and Infosys?

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

Explore More