Alibaba Interview Questions — 5 DSA Problems
2 problems with full solutions in Python, Java, C++, JavaScript, Go, Rust.
Most frequently asked Alibaba LeetCode questions for software engineering interviews.
- Split Array with Equal Sum (HARD) — Array, Hash Table, Prefix Sum
- Split Concatenated Strings (MEDIUM) — Array, String, Greedy
- Path Sum IV (MEDIUM) — Array, Hash Table, Tree, Depth-First Search, Binary Tree
- Valid Parenthesis String (MEDIUM) — String, Dynamic Programming, Stack, Greedy
- Longest Substring Without Repeating Characters (MEDIUM) — Hash Table, String, Sliding Window
A
Alibaba
5 questions tracked2 with solutions
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough
Showing 5 of 5 questions
1HardSplit Array with Equal Sum
ArrayHash TablePrefix Sum
2MediumSplit Concatenated Strings
ArrayStringGreedy
3MediumPath Sum IV
ArrayHash TableTreeDepth-First Search+1
4StringDynamic ProgrammingStackGreedy
5Hash TableStringSliding Window