Flipkart Interview Experience for SDE-1(Off-Campus)
Question Details
Process:1 Online Aptitude2 Technical Rounds1 Hiring Manager RoundOnline Aptitude: September 20203 Questions of varying difficulties:Given an array and an integer k, sort f...
Full Details
Process: 1 Online Aptitude 2 Technical Rounds 1 Hiring Manager Round Online Aptitude: September 2020 3 Questions of varying difficulties: Given an array and an integer k, sort first k elements in increasing and others in decreasing order. A medium hashmap based question, don't remember the question exactly. Advanced String matching question. Found the question here: https://leetcode.com/discuss/interview-question/856450/Flipkart-or-Online-Assessment(new-grad-2021-India)-or-Draw-String I solved the first 2 completely and the third question was able to pass 4 Test Cases out of 21. Got a call for interviews. Technical Interview 1: October 2020, a full month after giving Online Aptitude. AMCAT Smart Meet Platform. Again 3 questions were asked after some introductions. https://leetcode.com/problems/squares-of-a-sorted-array . Was asked to write pseudocode. https://www.geeksforgeeks.org/dsa/maximize-sum-of-k-elements-in-array-by-taking-only-corner-elements/ . Gave a recursive brute force solution of O(2^k). Was asked to optimise. Started to think of a DP solution when I remembered O(k) solution. Explained and wrote the code for it. https://leetcode.com/discuss/interview-question/309656/google-reorder-array-according-to-the-given-indexes . Quickly explained the constant solution. Seemed satisfied with the solution and didn't ask to code. Then, he extended the same question to repeat the same process ‘k’ times that too without any extra space. Time was running out and after just giving me 2 mins to think, he told me we are out of time. Couldn't give him any solution for this. Asked if I have any questions for him. After some questions, the interview ended. In the evening on the same day, I got the call for the next interview. Technical Interview 2: October 2020, the 1-day break between the 2 interviews. AMCAT Smart Meet Platform This time no introduction, straight to coding questions. Find the row with the maximum number of 1s . First he gave me this question, for which I gave him 3 approaches. One with naive searching O(m * n), another with a binary search on each row with O(mlogn), and another O(m+n) approach. He asked about the 2nd solution and changed the question to https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/ He wanted me to write the working code for this and even loaded some test cases into the IDE which my code needed to pass. https://leetcode.com/problems/sliding-window-median/ First gave him an O(n * klogk) brute force solution. Tried to build from the median in an integer stream solution. Told him will have to keep a left max heap and right min-heap. After each slide of the window, removal will be O(logk) if we keep value vs index hashmap and addition is also O(logk). Analysed time complexity and it came out to be O(nlogk) and he was satisfied with the approach and no code was needed. It was kind of a generic string grouping question, but since there wasn't much time left, he wanted me to find a hash function to distinguish each group. Gave a string-based hash, but he wanted an integer one. After a few minutes, I couldn't come up with anything so gave a prime number based hash solution, where each number is mapped to a corresponding prime number and then multiply all the prime numbers to avoid collisions. He didn't seem satisfied, but there was no time left. He ended the interview after I asked some questions about the inner workings of Flipkart. Got the mail for the managerial round within 40 mins after the interview. Hiring
Manager Round October 2020, same day after 3 hours of Tech round 2. AMCAT Smart Meet Platform Had expected some core os, DBMS, and networking questions, but none were asked. It was a pure HR based round. Mostly the usual behavioural hr questions were asked. I don't know how I did on this one as it was all really subjective. After 35 mins, the interviewer asked if I had any questions, and after he was done answering them, the interview ended. Since this was an off-campus opportunity, I don't have any idea of how many people they were interviewing or how many people they planned to hire at the end. After 15 days of not hearing from them, I mailed HR, and he told me I didn't make the cut.
About This Question
This is a reported interview question from a flipkart interview for a swe role (new grad level) during the oa round reported in 2025.
It covers the following topics: Strings, Heap, Dynamic Programming, Sliding Window, Binary Search, Recursion, Math, Hash Table, Arrays .
Difficulty rating: Medium
Topics
More Flipkart Interview Questions
About Flipkart Interview Reports
This question was reported by a candidate who interviewed at Flipkart. LeakCode aggregates interview reports from 10+ sources, including 1Point3Acres, Glassdoor, LeetCode Discuss, Blind, Reddit, Indeed, and Nowcoder. Each report is translated where necessary, deduplicated against existing entries, and tagged by company, role, round type, and reporting date.
Use this question as one calibration data point, not a memorization target. Companies typically rotate their question pools every 2-4 months; the exact wording of a 2024 question may differ from what you encounter today. The underlying pattern, difficulty level, and follow-up depth at Flipkart are the higher-signal extractions to take from this report.
For broader preparation context, the Flipkart interview process typically includes a recruiter screen, one or two technical phone screens, and a 4-5 round on-site loop covering coding, system design (at L4+ levels), and behavioral. Reports tagged on LeakCode show the round-by-round distribution and typical difficulty calibration. To browse questions filtered by round type and seniority, use the company hub linked above.
How To Practice This Type of Question
Solve similar problems on LeetCode under timed conditions (25-35 minutes per medium difficulty). The goal is pattern recognition: recognize the underlying technique (sliding window, two-pointer, BFS, memoized recursion, etc.) within 60-90 seconds of reading. Strong candidates verbalize their hypothesis out loud before coding, then iterate based on feedback. Weak candidates dive into implementation immediately, lose time on the wrong approach, and run out of time for follow-ups.
Companies update their question pools every 2-4 months. The exact wording of any given question may have been retired by the time you interview. Focus your prep on the pattern, not the specific problem. The patterns that appear in Flipkart reports consistently are the ones worth investing in; one-off niche problems are not.
During Your Flipkart Round
Apply the standard interview round template: clarify requirements (2-3 minutes), state your approach out loud and confirm direction with the interviewer (3-5 minutes), code with narration (15-25 minutes), test with concrete examples including edge cases (5 minutes), discuss optimization or trade-offs if time permits (5 minutes). This template is universally accepted across FAANG and adjacent companies; deviating from it produces weaker interviewer feedback signal.
The single most predictive failure mode in Flipkart reports tagged "no hire": not asking clarifying questions. Interviewers are explicitly trained to weight this. Strong candidates ask 3-5 clarifying questions even on problems that look obvious; weak candidates dive into code immediately. The clarifying-question check is often the first signal recorded in the interviewer's written notes.