Flipkart SDE 1 Interview Experience 2023 passout [Rejected]
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-03-25Added By Anonymous
Source: Link
Flipkart | SDE 1 | Interview Experience | 2023 passout [Rejected]
Status: 2023 grad, Tier 3
Current Position: SE at TCS
Location: Banglore
Date: March 2024
I got mail from recruiter regarding flipkarts off campus hiring for 2023 batch. Google form was provided, I filled and submitted my details like personal details,resume,current work details. (I don't know how I get reached out upfront, maybe I have applied in the past. Got mail from a University Relations Partner working at Flipkart).
1st round: Online Assesment (90mins, 3 questions):
1. Split an array into k subarrays such that the maximum sum of all subarray is minimum and return the maximum sum. The question explanation was different, but the logic remains the same. E.g: n = 4, arr = [2,2,2,2] , k = 2. Outpus should be 4. Split should be [2,2] and [2,2]
2. Given a string s and a list string(words). You have to construct string by combining the words and add space between the words in the final output. (The strings generated should be equal to the input string s by removing the spaces). E.g.: s = 'thisisgood' , words = ['thi','this','good','is',thisis']. Output should be: ['this is good', thisis good']
3. An array of size n is given which consist of positive and negative integers. You are given an integer K which represent maximum number of iteration you can perfrom on array on array. In one iteration, you can change a number at index i from negative to positive or vice versa. If i+1 th index exists, it is also changed from negative to positive or vice versa. Your target is to make all numbers positive in maximum of k iterations and return indices (list of index) where you have changes from +ve to -ve or vice verce. If you cannot change all to positive, return -1.
E.g: n = 4, arr = [1,-1,3,-1], k = 5. Output: [2,3] (1 based indexing)
I was able solve only question 2 completely and I had solved question 1 and 3 partially.
2nd round: Problem Solving/Data Structure Round (45 min, 2 question):
My first interview was rescheduled due to unavailability of device from my side. Thankfully they rescheduled it to next day.
Interviewers firstly introduced himself, and ask me to give introduction.
After introduction, he started asking general question on Binary Tree and Binary Search Tree. I was nervous and confused, so was not able to answer such easy question.
Next he asked me share my screen and asked me first question:
1. You are given two string s1 and s2. Return the longest common subsequence. I was way out of DSA practice. I remembered recursive solution to generate subsequence, so I just gave him brute force approach to solve above question. He wanted me to optimise it. He gave me some hints but I was able to optimise it further from brute force.
2. Next question was similar, but instead of subsequence, he asked to return longest common substring. Here I gave hime brute force, he wanted to optimise and I was not able to.
Times up!
He asked me to stop and asked if I have any question. I asked him for interview feedback, he said that these are basic question and you should have atleast optimised it.
After that I didn't received any rejection or next round mail.
One of the candidate, she passed ps/ds round and next round was hiring manage round.
I am really disappointed with my performance.
Now I am grinding DSA!
Status: 2023 grad, Tier 3
Current Position: SE at TCS
Location: Banglore
Date: March 2024
I got mail from recruiter regarding flipkarts off campus hiring for 2023 batch. Google form was provided, I filled and submitted my details like personal details,resume,current work details. (I don't know how I get reached out upfront, maybe I have applied in the past. Got mail from a University Relations Partner working at Flipkart).
1st round: Online Assesment (90mins, 3 questions):
1. Split an array into k subarrays such that the maximum sum of all subarray is minimum and return the maximum sum. The question explanation was different, but the logic remains the same. E.g: n = 4, arr = [2,2,2,2] , k = 2. Outpus should be 4. Split should be [2,2] and [2,2]
2. Given a string s and a list string(words). You have to construct string by combining the words and add space between the words in the final output. (The strings generated should be equal to the input string s by removing the spaces). E.g.: s = 'thisisgood' , words = ['thi','this','good','is',thisis']. Output should be: ['this is good', thisis good']
3. An array of size n is given which consist of positive and negative integers. You are given an integer K which represent maximum number of iteration you can perfrom on array on array. In one iteration, you can change a number at index i from negative to positive or vice versa. If i+1 th index exists, it is also changed from negative to positive or vice versa. Your target is to make all numbers positive in maximum of k iterations and return indices (list of index) where you have changes from +ve to -ve or vice verce. If you cannot change all to positive, return -1.
E.g: n = 4, arr = [1,-1,3,-1], k = 5. Output: [2,3] (1 based indexing)
I was able solve only question 2 completely and I had solved question 1 and 3 partially.
2nd round: Problem Solving/Data Structure Round (45 min, 2 question):
My first interview was rescheduled due to unavailability of device from my side. Thankfully they rescheduled it to next day.
Interviewers firstly introduced himself, and ask me to give introduction.
After introduction, he started asking general question on Binary Tree and Binary Search Tree. I was nervous and confused, so was not able to answer such easy question.
Next he asked me share my screen and asked me first question:
1. You are given two string s1 and s2. Return the longest common subsequence. I was way out of DSA practice. I remembered recursive solution to generate subsequence, so I just gave him brute force approach to solve above question. He wanted me to optimise it. He gave me some hints but I was able to optimise it further from brute force.
2. Next question was similar, but instead of subsequence, he asked to return longest common substring. Here I gave hime brute force, he wanted to optimise and I was not able to.
Times up!
He asked me to stop and asked if I have any question. I asked him for interview feedback, he said that these are basic question and you should have atleast optimised it.
After that I didn't received any rejection or next round mail.
One of the candidate, she passed ps/ds round and next round was hiring manage round.
I am really disappointed with my performance.
Now I am grinding DSA!