Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
  1. Interview Questions
  2. /
  3. 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.

9 Easy
21 Medium
8 Hard

Top Topics at Alibaba

ArrayStringHash TableSortingDynamic Programming

Ace your Alibaba interview with AI

Get real-time AI assistance during your actual interview. Invisible to screensharing.

Start Free Trial

Alibaba Interview Problems

ProblemDifficultyDiffFrequencyTopicsAction
Roman to Integer
100%
EasyE
100%
Hash TableMath+1
Solve→
Bus Routes
88%
HardH
88%
ArrayHash Table+1
Solve→
Merge Two Sorted Lists
84%
EasyE
84%
Linked ListRecursion
Solve→
Find the Index of the First Occurrence in a String
82%
EasyE
82%
Two PointersString+1
Solve→
Goat Latin
82%
EasyE
82%
String
Solve→
Maximum Subarray
74%
MediumM
74%
ArrayDivide and Conquer+1
Solve→
House Robber
73%
MediumM
73%
ArrayDynamic Programming
Solve→
Minimum Remove to Make Valid Parentheses
71%
MediumM
71%
StringStack
Solve→
Find Median from Data Stream
66%
HardH
66%
Two PointersDesign+3
Solve→
Largest Number
64%
MediumM
64%
ArrayString+2
Solve→
Best Time to Buy and Sell Stock II
63%
MediumM
63%
ArrayDynamic Programming+1
Solve→
Maximum Number of Occurrences of a Substring
63%
MediumM
63%
Hash TableString+1
Solve→
Jump Game II
61%
MediumM
61%
ArrayDynamic Programming+1
Solve→
Two Sum
61%
EasyE
61%
ArrayHash Table
Solve→
Letter Combinations of a Phone Number
60%
MediumM
60%
Hash TableString+1
Solve→
Valid Sudoku
60%
MediumM
60%
ArrayHash Table+1
Solve→
Identify the Largest Outlier in an Array
58%
MediumM
58%
ArrayHash Table+2
Solve→
Check If a Word Occurs As a Prefix of Any Word in a Sentence
55%
EasyE
55%
Two PointersString+1
Solve→
Maximum Profit in Job Scheduling
55%
HardH
55%
ArrayBinary Search+2
Solve→
IP to CIDR
54%
MediumM
54%
StringBit Manipulation
Solve→
Zero Array Transformation III
53%
MediumM
53%
ArrayGreedy+3
Solve→
Vertical Order Traversal of a Binary Tree
53%
HardH
53%
Hash TableTree+4
Solve→
Add Two Numbers
52%
MediumM
52%
Linked ListMath+1
Solve→
Design Snake Game
48%
MediumM
48%
ArrayHash Table+3
Solve→
Valid Number
46%
HardH
46%
String
Solve→

Pass your interview with AI assistance

Get real-time solutions during your actual coding interview. Invisible to screensharing.

Start Free Trial
Custom Sort String
44%
MediumM
44%
Hash TableString+1
Solve→
Unique Paths II
42%
MediumM
42%
ArrayDynamic Programming+1
Solve→
Merge k Sorted Lists
41%
HardH
41%
Linked ListDivide and Conquer+2
Solve→
Isomorphic Strings
40%
EasyE
40%
Hash TableString
Solve→
Palindrome Number
40%
EasyE
40%
Math
Solve→
Rank Transform of a Matrix
38%
HardH
38%
ArrayUnion Find+4
Solve→
First Missing Positive
36%
HardH
36%
ArrayHash Table
Solve→
Search Suggestions System
35%
MediumM
35%
ArrayString+4
Solve→
Shortest Path in Binary Matrix
31%
MediumM
31%
ArrayBreadth-First Search+1
Solve→
Toeplitz Matrix
30%
EasyE
30%
ArrayMatrix
Solve→
Zigzag Conversion
26%
MediumM
26%
String
Solve→
Find Peak Element
23%
MediumM
23%
ArrayBinary Search
Solve→
Remove Duplicates from Sorted Array II
21%
MediumM
21%
ArrayTwo Pointers
Solve→

Similar Companies

Explore interview questions from other companies with similar interview patterns.

Amdocs
38 problems
Astera Labs
38 problems
Audible
38 problems
Bio Rad Laboratories
38 problems
Block
38 problems
Buffer
38 problems

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 Free

No credit card required

All CompaniesEasy ProblemsMedium ProblemsHard ProblemsBrowse by Topic
Interview Solver
  • Home
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.