- Interview Questions
- /
- Alibaba
Alibaba LeetCode Interview Questions
Practice 38 real coding problems frequently asked in Alibaba technical interviews. Master these questions to ace your next Alibaba software engineering interview.
Top Topics at Alibaba
Ace your Alibaba interview with AI
Get real-time AI assistance during your actual interview. Invisible to screensharing.
Alibaba Interview Problems
| Problem | DifficultyDiff | Action |
|---|---|---|
Roman to Integer 100% | EasyE | Solve→ |
Bus Routes 88% | HardH | Solve→ |
Merge Two Sorted Lists 84% | EasyE | Solve→ |
Find the Index of the First Occurrence in a String 82% | EasyE | Solve→ |
Goat Latin 82% | EasyE | Solve→ |
Maximum Subarray 74% | MediumM | Solve→ |
House Robber 73% | MediumM | Solve→ |
Minimum Remove to Make Valid Parentheses 71% | MediumM | Solve→ |
Find Median from Data Stream 66% | HardH | Solve→ |
Largest Number 64% | MediumM | Solve→ |
Best Time to Buy and Sell Stock II 63% | MediumM | Solve→ |
Maximum Number of Occurrences of a Substring 63% | MediumM | Solve→ |
Jump Game II 61% | MediumM | Solve→ |
Two Sum 61% | EasyE | Solve→ |
Letter Combinations of a Phone Number 60% | MediumM | Solve→ |
Valid Sudoku 60% | MediumM | Solve→ |
Identify the Largest Outlier in an Array 58% | MediumM | Solve→ |
Check If a Word Occurs As a Prefix of Any Word in a Sentence 55% | EasyE | Solve→ |
Maximum Profit in Job Scheduling 55% | HardH | Solve→ |
IP to CIDR 54% | MediumM | Solve→ |
Zero Array Transformation III 53% | MediumM | Solve→ |
Vertical Order Traversal of a Binary Tree 53% | HardH | Solve→ |
Add Two Numbers 52% | MediumM | Solve→ |
Design Snake Game 48% | MediumM | Solve→ |
Valid Number 46% | HardH | Solve→ |
Pass your interview with AI assistance
Get real-time solutions during your actual coding interview. Invisible to screensharing.
Custom Sort String 44% | MediumM | Solve→ |
Unique Paths II 42% | MediumM | Solve→ |
Merge k Sorted Lists 41% | HardH | Solve→ |
Isomorphic Strings 40% | EasyE | Solve→ |
Palindrome Number 40% | EasyE | Solve→ |
Rank Transform of a Matrix 38% | HardH | Solve→ |
First Missing Positive 36% | HardH | Solve→ |
Search Suggestions System 35% | MediumM | Solve→ |
Shortest Path in Binary Matrix 31% | MediumM | Solve→ |
Toeplitz Matrix 30% | EasyE | Solve→ |
Zigzag Conversion 26% | MediumM | Solve→ |
Find Peak Element 23% | MediumM | Solve→ |
Remove Duplicates from Sorted Array II 21% | MediumM | Solve→ |
Similar Companies
Explore interview questions from other companies with similar interview patterns.
Frequently Asked Questions
What LeetCode problems does Alibaba ask in interviews?
Alibaba commonly asks 38 coding problems in technical interviews, including Roman to Integer, Bus Routes, Merge Two Sorted Lists. The difficulty breakdown is 9 Easy, 21 Medium, and 8 Hard problems.
How should I prepare for a Alibaba coding interview?
Focus on the most frequently asked problems first, especially those with high frequency scores. Alibaba interviews typically emphasize Array and String. Practice explaining your thought process while coding.
What is the difficulty level of Alibaba coding interviews?
Based on our data, Alibaba interviews include 9 Easy (24%), 21 Medium (55%), and 8 Hard (21%) problems.
Ready to ace your Alibaba interview?
Join thousands of engineers who landed offers at top tech companies.
Get Started FreeNo credit card required