
Xiaomi Software Engineer Interview Questions
& Process
Real candidates share what happened, how many rounds they had,
and how the experience turned out.
Based on 20 interview experiences · FREE TO READ
Candidate interview experiences
First-hand accounts from people who interviewed at Xiaomi.
Software Engineer
The interview had two rounds. The first round was focused on Data Structures and Algorithms (DSA), with two questions. The second round involved a discussion about my resume and an HR conversation.
- Can you solve the Weighted Job Scheduling problem using DSA?
- Explain the internal workings of STL functions, specifically the vector.
Software Engineer
We'll chat about your resume projects, focusing on any challenges you faced and how you tackled them. Also, we'll dive into how you'd handle optimizations for situations with bad network conditions. After that, expect some algorithm questions, like dealing with partial sorting or binary search.
- Can you describe your project experience, detailing any difficulties encountered and the solutions you implemented?
- How would you approach optimizing systems in environments characterized by poor network connectivity?
- Given an array of integers, can you write a function to find the indices m and n that define the shortest subarray [m, n] such that sorting this subarray would sort the entire array? The function should return [m, n], or [-1, -1] if the array is already sorted.
Software Engineer
I applied online and got a phone interview after a week. Then there was an online interview with coding tasks. I waited another week for the final result. The process was quite efficient and the interviewers were quite nice.
- Could you elaborate on the project-related questions?
- Are there any basic C++ questions?
- Tell me about dynamic programming coding.
Xiaomi Software Engineer Interview Questions
Quoted word for word from Xiaomi interview reports.
“Given an array of integers, can you write a function to find the indices m and n that define the shortest subarray [m, n] such that sorting this subarray would sort the entire array? The function should return [m, n], or [-1, -1] if the array is already sorted.”
Read reports →“Find the difference between distinct elements on the left side and the right side of an array.”
Read reports →“How would you find the kth largest node in a binary search tree?”
Read reports →“Explain the internal workings of STL functions, specifically the vector.”
Read reports →“How do you implement downsampling?”
Read report →“What are some fundamentals of the Java language?”
Read report →“How would you fancy print a tree?”
Read report →“Can you explain the differences between Vue and React?”
Read report →“Can you explain the entire process from typing www.mi.com into a browser to receiving the response?”
Read report →Formats, difficulty and experience
Across all 20 Xiaomi interview reports.