Grammarly vs Twitter Interview Questions

Grammarly lists 30 LeetCode interview questions while Twitter lists 53. They share 5 problems — 17% of Grammarly's bank and 9% of Twitter's. Focus on the overlap first, then drill into 25 Grammarly-only and 48 Twitter-only questions.

Overview

Grammarly

30 questions

Easy 7Medium 19Hard 4
Twitter

53 questions

Easy 8Medium 33Hard 12

Preparation Strategy

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

Step 2 — Company-specific depth: Add Grammarly-specific problems like Remove All Adjacent Duplicates In String, Search in Rotated Sorted Array, Vowel Spellchecker and Twitter-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Grammarly
7
Twitter
8
Medium
Grammarly
19
Twitter
33
Hard
Grammarly
4
Twitter
12

Top Shared Topics

5 Shared Questions

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

ProblemDifficulty
Merge IntervalsMedium
Insert Delete GetRandom O(1)Medium
Implement Trie (Prefix Tree)Medium
Word Break IIHard
Trapping Rain WaterHard

Unique to Grammarly (25)

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

ProblemDifficulty
Remove All Adjacent Duplicates In StringEasy
Search in Rotated Sorted ArrayMedium
Vowel SpellcheckerMedium
Remove All Adjacent Duplicates in String IIMedium
Climbing StairsEasy
Repeated DNA SequencesMedium
Sqrt(x)Easy
Generate ParenthesesMedium
Perfect NumberEasy
Logger Rate LimiterEasy
Sum of Left LeavesEasy
Non-overlapping IntervalsMedium

Unique to Twitter (48)

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

ProblemDifficulty
Regular Expression MatchingHard
Integer to RomanMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
LRU CacheMedium
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium

Frequently Asked Questions

How many LeetCode questions do Grammarly and Twitter share?

Grammarly and Twitter share 5 LeetCode interview questions. 25 problems appear only in Grammarly's list and 48 appear only in Twitter's list.

What topics overlap most between Grammarly and Twitter?

The most common shared topics between Grammarly and Twitter are Array (4 shared questions), Hash Table (3 shared questions), Design (2 shared questions), String (2 shared questions), Trie (2 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Grammarly or Twitter?

Grammarly has 7 Easy, 19 Medium, and 4 Hard questions. Twitter has 8 Easy, 33 Medium, and 12 Hard questions. Twitter has a higher proportion of Hard problems in its interview set.

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

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

Explore More