Make My Trip Interview Experience || SDE -2
- Result
- Rejected
- Posted
- 13 Jul 2023
Summary
I recently interviewed for an SDE-2 position at Make My Trip. The first round was purely focused on Data Structures and Algorithms, where I was given two LeetCode problems. Unfortunately, I was unable to qualify for the next round.
How it went
I had an interview for an SDE-2 role at Make My Trip. The first round was entirely dedicated to Data Structures and Algorithms. I was presented with two LeetCode questions to solve. Despite my efforts, I wasn't able to clear this round and proceed further in the interview process.
Questions asked (2)
- 01
Count Sorted Vowel Strings
Data Structures & Algorithms · Medium
Open the problemGiven an integer
n, return the number of strings of lengthnthat consist only of vowels (a,e,i,o,u) and are lexicographically sorted. A stringsis lexicographically sorted if for every valid indexi,s[i]is the same as or comes befores[i+1]in the alphabet. - 02
Two Sum II - Input Array Is Sorted
Data Structures & Algorithms · Medium
Open the problemGiven a 1-indexed array of integers
numbersthat is already sorted in non-decreasing order, find two numbers such that they add up to a specifictargetnumber. Return the indices of the two numbers,index1andindex2, added by one as an integer array[index1, index2]of length 2. The tests are generated such that there is exactly one solution. You may not use the same element twice. Your solution must use only constant extra space.