Make My Trip Interview Experience || SDE -2

make my trip logo
make my trip
SDE-2Rejected
July 13, 20230 reads

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.

Full Experience

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.

Interview Questions (2)

Q1
Count Sorted Vowel Strings
Data Structures & AlgorithmsMedium

Given an integer n, return the number of strings of length n that consist only of vowels (a, e, i, o, u) and are lexicographically sorted. A string s is lexicographically sorted if for every valid index i, s[i] is the same as or comes before s[i+1] in the alphabet.

Q2
Two Sum II - Input Array Is Sorted
Data Structures & AlgorithmsMedium

Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific target number. Return the indices of the two numbers, index1 and index2, 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.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!