Alibaba Coding Interview Questions
We track 3 coding questions asked at Alibaba, tagged with the algorithms and concepts they test. The most common: String, Array, Divide and Conquer, Dynamic Programming, Greedy.
Browse all 3 Alibaba questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- String19.4%
- Hash Table11.1%
- Sliding Window11.1%
- Dynamic Programming8.3%
- Greedy8.3%
- Stack8.3%
- Array6.7%
- Divide and Conquer6.7%
- Heap (Priority Queue)6.7%
- Quickselect6.7%
- Other (1)6.7%
How many questions involve each concept
Share of all 3 tracked Alibaba questions that touch each concept. Questions usually involve several, so these overlap.
- String66.7%
- Array33.3%
- Divide and Conquer33.3%
- Dynamic Programming33.3%
- Greedy33.3%
- Hash Table33.3%
- Heap (Priority Queue)33.3%
- Quickselect33.3%
- Sliding Window33.3%
- Sorting33.3%
- Stack33.3%
Where Alibaba differs from the average company
Concept weight at Alibaba relative to the average across all companies we track. Green means Alibaba leans on it harder than most.
- String2.0×
Alibaba specialties
Concepts that show up at Alibaba but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 3 tracked Alibaba questions.
- Mid/Senior100% (3)
Every concept in Alibaba interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| String | 2 | 66.7% | 19.4% |
| Array | 1 | 33.3% | 6.7% |
| Divide and Conquer | 1 | 33.3% | 6.7% |
| Dynamic Programming | 1 | 33.3% | 8.3% |
| Greedy | 1 | 33.3% | 8.3% |
| Hash Table | 1 | 33.3% | 11.1% |
| Heap (Priority Queue) | 1 | 33.3% | 6.7% |
| Quickselect | 1 | 33.3% | 6.7% |
| Sliding Window | 1 | 33.3% | 11.1% |
| Sorting | 1 | 33.3% | 6.7% |
| Stack | 1 | 33.3% | 8.3% |
Practice a Alibaba interview
Take a realistic AI-led mock interview with questions Alibaba actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required