Huawei Coding Interview Questions
We track 19 coding questions asked at Huawei, tagged with the algorithms and concepts they test. The most common: Array, Dynamic Programming, String, Stack, Two Pointers.
Browse all 19 Huawei questions →Concept mix
Each question's weight is split evenly across its concepts, so the shares sum to 100%.
- Array17.7%
- String11.8%
- Dynamic Programming8.7%
- Two Pointers8.1%
- Stack7.4%
- Backtracking7.0%
- Greedy5.7%
- Linked List5.7%
- Hash Table4.4%
- Recursion4.4%
- Other (10)19.2%
How many questions involve each concept
Share of all 19 tracked Huawei questions that touch each concept. Questions usually involve several, so these overlap.
- Array52.6%
- Dynamic Programming31.6%
- String31.6%
- Stack26.3%
- Two Pointers26.3%
- Backtracking15.8%
- Greedy15.8%
- Linked List15.8%
- Monotonic Stack15.8%
- Breadth-First Search10.5%
- Divide and Conquer10.5%
- Hash Table10.5%
Where Huawei differs from the average company
Concept weight at Huawei relative to the average across all companies we track. Green means Huawei leans on it harder than most.
- Backtracking5.4×
- Monotonic Stack4.3×
- Recursion4.0×
- Divide and Conquer3.9×
- Breadth-First Search0.77×
- Matrix0.74×
- Hash Table0.66×
Huawei specialties
Concepts that show up at Huawei but are rarely asked elsewhere. They are easy to get blindsided by.
Difficulty mix
Level split of the 19 tracked Huawei questions.
- Junior21% (4)
- Mid/Senior58% (11)
- Staff21% (4)
Every concept in Huawei interviews
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 10 | 52.6% | 17.7% |
| Dynamic Programming | 6 | 31.6% | 8.7% |
| String | 6 | 31.6% | 11.8% |
| Stack | 5 | 26.3% | 7.4% |
| Two Pointers | 5 | 26.3% | 8.1% |
| Backtracking | 3 | 15.8% | 7.0% |
| Greedy | 3 | 15.8% | 5.7% |
| Linked List | 3 | 15.8% | 5.7% |
| Monotonic Stack | 3 | 15.8% | 3.0% |
| Breadth-First Search | 2 | 10.5% | 1.7% |
| Divide and Conquer | 2 | 10.5% | 3.1% |
| Hash Table | 2 | 10.5% | 4.4% |
| Heap (Priority Queue) | 2 | 10.5% | 2.0% |
| Matrix | 2 | 10.5% | 1.7% |
| Recursion | 2 | 10.5% | 4.4% |
| Union-Find | 2 | 10.5% | 1.7% |
| Binary Search | 1 | 5.3% | 1.8% |
| Depth-First Search | 1 | 5.3% | 1.1% |
| Merge Sort | 1 | 5.3% | 1.3% |
| Sorting | 1 | 5.3% | 1.8% |
Practice a Huawei interview
Take a realistic AI-led mock interview with questions Huawei actually asks, with live voice and real feedback.
Start a mock interviewYour first interview is free · no credit card required