Flipkart interview experience Real time questions & tips from candidates to crack your interview

UI Engineer 1

Flipkart
upvote
share-icon
4 rounds | 11 Coding problems

Interview preparation journey

expand-icon
Journey
I am from a Tier 3 college with average placements, I graduated in 2023 and was placed in TCS Digital for 7 LPA. The workload was less, and I was dissatisfied with the job, so I kept upskilling and grinding DSA problems on various platforms. I was actively doing this in college as well but couldn't get good placement due to bad luck. During this time, I found a post about Flipkart's off-campus hiring drive on LinkedIn for the 2023 batch, and I applied to it. I got rejected for phase 1 but was contacted for phase 2, and this time I was able to progress further into the hiring process. I was able to crack the interview and was offered the job role of UI Engineer 1. It was a significant hike from the current role and felt great.
Application story
Flipkart conducted an off-campus hiring drive in September 2023, I found it in a LinkedIn post, It was a form that I filled with my details and Resume, I was rejected in phase 1 of the drive but was contacted for phase 2 after which I received an Online Assessment, and 3 rounds of virtual interviews were conducted.
Why selected/rejected for the role?
I was selected, and resume shortlisting was there before the Online Assessment, which suited the profile due to good projects. In later rounds, I performed well because of a lot of DSA practice and having done projects related to the role, which helped a lot. Motivation to get a better offer helped a lot too.
Preparation
Duration: 2 Months
Topics: Data Structures, Algorithms, JavaScript, HTML, CSS, ReactJS
Tip
Tip

Tip 1: Practice DSA consistently.
Tip 2: Have good projects and a deep understanding of them.
Tip 3: Maintain a good Resume.

Application process
Where: Linkedin
Eligibility: 2023 batch
Resume Tip
Resume tip

Tip 1: Have good and unique projects and host them.
Tip 2: Get it reviewed by working professionals and tailor it based on the role applying to.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date19 Sep 2023
Coding problem3

The link was provided in the morning and we had 24 hours to complete the test, It was an online assessment on the AMCAT platform.

1. String is a Rotation of Another String

Moderate
15m average time
85% success
0/80
Asked in companies
MicrosoftOracleSAP Labs

You're given a string S, an integer K, and a boolean isLeft, rotate the boolean K positions to left if isLeft is true else to the right, and return the final string.

Problem approach

We can rotate the string in constant space and linear time by the technique of substring reversal, to rotate K positions to the left we reverse the first K characters and the remaining and finally reverse an entire string.

Try solving now

2. Max Weight Cycle Detection in Functional Graphs

Moderate
0/80
Asked in companies
FlipkartAmazonAdobe

Given a functional graph (almost 1 outgoing edge), and edge weights, find the cycle in a graph with the maximum sum of weights in it.

Problem approach

From each node follow its edge till we see an already visited node or there is no edge, we also store a timer of when the node was visited, upon seeing a visited node we find the sum of the current cycle by moving backward and adding edge sums and taking the max of all cycles.

Try solving now

3. Shortest Bridge

Moderate
35m average time
65% success
0/80
Asked in companies
UberWalmartFacebook

Given a grid representing whether each cell is water or land, it contains exactly 2 islands, find the length of the shortest bridge that can connect both.

Problem approach

Starting from any cell of the first island, now assume moving from land to another land cell is free of cost while moving to any other cell costs 1, then the problem is to simply perform 0/1 BFS on the grid and return the first land cell with non-zero distance.

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date21 Sep 2023
Coding problem2

It was the PS/DS round which was primarily for testing DSA skills on candidates and was crucial for advancing to further rounds.

1. Maximum Sum Circular Subarray

Moderate
10m average time
90% success
0/80
Asked in companies
UberInfosysFlipkart

Given an array which circular (first and last element adjacent), find the maximum sum of any non-empty subarray.

Problem approach

Firstly I gave a casework solution where we precompute maximum prefix and suffix sums up to each index, which was linear space complexity and the interviewer wanted a constant space solution.
After some hint I realized that we can simply find the minimum subarray sum instead and subtract from the total which is equivalent to the maximum in a circular array, this can be done with Kadane's algorithm.

Try solving now

2. Optimizing Travel Pass Purchases for Given Days Array

Moderate
0/80
Asked in companies
Media.netFlipkartTower Research Capital

We're given an array of days when we want to travel, we've 3 types of passes day pass, week pass and month pass each having a cost, starting at day 1 we want to spend minimum cost buying passes so that on each day in the array we would be traveling.

Problem approach

I applied Dynamic programming, dp[i] would store the minimum cost of tickets from i'th day, I did transition using binary search which the interviewer didn't like so I explained we can use pointers to do in linear time, I still coded the binary search solution.

Try solving now
03
Round
Medium
Video Call
Duration90 minutes
Interview date2 Nov 2023
Coding problem2

This was a Frontend + PS/DS round where the emphasis was on knowledge about frontend development while solving DSA problems.

1. Minimum Substring Length Containing All Characters of Target

Hard
15m average time
85% success
0/120
Asked in companies
JP MorganBarclaysFlipkart

Given a string S and target T find the minimum length of any substring of S which contains all characters of T.

Problem approach

This can be solved using a sliding window and keeping a counter, the interviewer wanted a solution in Javascript so I used an object to keep count did the sliding window, and checked if the left pointer could move forward, taking min of all.

Try solving now

2. React App

Design a React app with 3 buttons that keep their count of clicks on the top and each click also updates a global counter, designed such that it's easy to extend a number of buttons.

Problem approach

Tip 1: Always ask for clarification instead of making assumptions.
Tip 2: Do not overcomplicate and keep the solution simple.
Tip 3: Have an explanation for each design decision, its pros and cons.

04
Round
Medium
HR Round
Duration30 minutes
Interview date4 Nov 2023
Coding problem4

This was the Hiring Manager round and involved non-technical questions about career and work ethics.

1. Describe a project in your resume and why you built it.

Problem approach

Tip 1: Be honest
Tip 2: Don't exaggerate.
Tip 3: Have a clear understanding of your role.

2. Describe a project in your resume and why you built it.

Problem approach

Tip 1: Have unique projects with a purpose.
Tip 2: Have a deep understanding of the project and why you built it the way it is.

3. What is your approach when starting a new project?

Problem approach

Tip 1: Know the purpose of each project and real-life examples.
Tip 2: Learn about various planning techniques when building something.

4. Why do you want to switch?

Problem approach

Tip 1: Be honest about goals but don't mention salary hike is your goal.
Tip 2: Research about the company and why it interests you.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
company logo
UI Developer 2
2 rounds | 2 problems
Interviewed by Flipkart
2272 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart
2374 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart
2091 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 4 problems
Interviewed by Flipkart
5578 views
1 comments
0 upvotes