Flipkart AI Engineer Campus Guide: The Three-Question Coding OA
Prepare for Flipkart AI engineer interviews with reported assessment patterns, interview questions, and preparation advice.
On this page
Last reviewed November 16, 2026.
For students applying as AI engineers.
Built by the Codinzhub team from Flipkart questions and experiences that IIT students shared on Codinzhub in October and November 2026. Each one is one student's memory of their paper, so use this as a map, not a promise.
The 30-second version. Flipkart's AI engineer OA ran at IIT Kharagpur and IIT (BHU) Varanasi on November 2 and 3, 2026: 3 coding questions, and both campuses got the same three: the next permutation of a string, perfect squares matching a pattern with blanks, and a block-covering maths problem. None needs machine learning; all need careful implementation.
How this guide was built. The OA comes from questions IIT students posted on Codinzhub. No student has posted AI engineer interview rounds yet, so the interview section is the Codinzhub team's research and is marked.
Other Flipkart roles: SDE 1 · SDE intern · SDE 2 · SDE 3, iOS · Supply chain (Neev) · Data engineer · Data scientist · AI engineer
Round-by-round breakdown
Stage 1: Online assessment
At a glance
- Length: timed; plan for 90 minutes
- Questions per round: 3 coding
- What was asked: next permutation, brute force over digit patterns, geometry and maths
- Most common: the same three questions at both IITs
What students were asked:
| # | Question (our summary) | How to approach it | Practice |
|---|---|---|---|
| 1 | Rearrange each string into the next larger dictionary order; print "no changes" if it is already the largest | Standard next permutation: find the first drop from the right, swap with the next larger, reverse the tail | Next Dictionary Permutation, Dictionary, Next Dictionary Order |
| 2 | A number pattern of up to 13 characters with blanks (for example 1_0_5). List every perfect square of that length that fits (11025) | Loop over square roots in the range for that length and match each square; at most about 3.2 million roots | Fill the Blanks to Make a Perfect Square, Find Square Numbers Matching a Pattern, Square Root (Missing) |
| 3 | Gold blocks of height 1 with given length and breadth are stacked; find the fewest wooden blocks needed to cover them | Work out the covering rule from the examples, then sum per layer | Wooden Blocks for Stolen Gold, Golden and Wooden Blocks, Minimum Wooden Blocks Needed |
More questions: Browse Flipkart questions.
Stage 2: Interviews
What to expect. From our research: Flipkart's AI and ML campus interviews cover DSA coding, machine learning fundamentals, and applied questions about Flipkart's products, such as search ranking or recommendations. Prepare one ML or LLM project you can explain end to end, including how you evaluated it.
More from Codinzhub: every college and every year
These are the other 1 questions and experiences for this role on Codinzhub, from all colleges and drives, newest first.
| Question or experience | College or drive | Type | Posted |
|---|---|---|---|
| Complete the Square Area AI Engineering | IIT | OA question | 2026-11-03 |
The Codinzhub Next-Round Playbook
- Write next permutation from memory, including the "no changes" case.
- For the square pattern question, loop over roots, not over numbers.
- Read the blocks question's examples twice before coding; the rule hides in them.
About this guide
This guide is researched and written by the Codinzhub team from what IIT students shared on Codinzhub, plus research into Flipkart's campus process where student reports are missing. Questions are our own short summaries; the practice links open the full question on Codinzhub. Sat this OA or the interviews? Share your experience on Codinzhub and we will update the guide.
Keep track of what you’ve learned.