SAP vs Twitter Interview Questions

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

Overview

SAP

42 questions

Easy 14Medium 21Hard 7
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 SAP and Twitter.

Step 2 — Company-specific depth: Add SAP-specific problems like Two Sum, Movie Rating, Maximum Path Quality of a Graph 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
SAP
14
Twitter
8
Medium
SAP
21
Twitter
33
Hard
SAP
7
Twitter
12

Top Shared Topics

5 Shared Questions

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

ProblemDifficulty
Valid ParenthesesEasy
Merge IntervalsMedium
Reverse Linked ListEasy
LRU CacheMedium
Trapping Rain WaterHard

Unique to SAP (37)

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

ProblemDifficulty
Two SumEasy
Movie RatingMedium
Maximum Path Quality of a GraphHard
Count the Number of Infection SequencesHard
Count Increasing QuadrupletsHard
Maximum Students Taking ExamHard
Container With Most WaterMedium
Longest Common PrefixEasy
Number of IslandsMedium
Best Time to Buy and Sell StockEasy
Maximum SubarrayMedium
Longest Palindromic SubstringMedium

Unique to Twitter (48)

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

ProblemDifficulty
Regular Expression MatchingHard
Integer to RomanMedium
Merge k Sorted ListsHard
Multiply StringsMedium
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
Happy NumberEasy

Frequently Asked Questions

How many LeetCode questions do SAP and Twitter share?

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

What topics overlap most between SAP and Twitter?

The most common shared topics between SAP and Twitter are Stack (2 shared questions), Array (2 shared questions), Linked List (2 shared questions), String (1 shared questions), Sorting (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: SAP or Twitter?

SAP has 14 Easy, 21 Medium, and 7 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 SAP and Twitter?

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

Explore More