Add office photos
Engaged Employer

MakeMyTrip

3.7
based on 807 Reviews
Filter interviews by

100+ Interview Questions and Answers

Updated 19 Nov 2024
Popular Designations
Q1. Minimum Jumps

Bob lives with his wife in a city named Berland. Bob is a good husband, so he goes out with his wife every Friday to ‘Arcade’ mall.

‘Arcade’ is a very famous mall in Berland. It has a very unique t...read more

View 5 more answers
Q2. Tower of Hanoi

You are given three rods (numbered 1 to 3), and ‘N’ disks initially placed on the first rod, one on top of each other in increasing order of size ( the largest disk is at the bottom). You are supp...read more

Add your answer
Q3. Reverse Linked List

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked lis...read more
View 6 more answers
Q4. Minimum Operations

You are given an array 'ARR' of 'N' positive integers. You need to find the minimum number of operations needed to make all elements of the array equal. You can perform addition, multiplicatio...read more

View 3 more answers
Discover null interview dos and don'ts from real experiences
Q5. Cycle Detection in a Singly Linked List

You have given a Singly Linked List of integers, determine if it forms a cycle or not.

A cycle occurs when a node's next points back to a previous node in the list. The li...read more

View 4 more answers
Q6. Smallest Window

You are given two strings S and X containing random characters. Your task is to find the smallest substring in S which contains all the characters present in X.

Example:

Let S = “abdd” and X = “...read more
View 3 more answers
Are these interview questions helpful?
Q7. Find Smallest Integer

You are given an array 'ARR' consisting of 'N' positive numbers and sorted in non-decreasing order, and your task is to find the smallest positive integer value that cannot be represented a...read more

View 3 more answers
Q8. Combination Sum

You are given an array/list ARR of N distinct positive integers. You are also given a non-negative integer B.

Your task is to find all unique combinations in the array whose sum is equal to B. A ...read more

View 2 more answers
Share interview questions and help millions of jobseekers 🌟
Q9. Maximum Distance

You have been given an array 'A' of N integers. You need to find the maximum value of j - i subjected to the constraint of A[i] <= A[j], where ‘i’ and ‘j’ are the indices of the array.

For examp...read more
Add your answer
Q10. Count Inversions

For a given integer array/list 'ARR' of size 'N', find the total number of 'Inversions' that may exist.

An inversion is defined for a pair of integers in the array/list when the following two co...read more

View 3 more answers
Q11. Minimum steps to reach target by a Knight

You have been given a square chessboard of size ‘N x N’. The position coordinates of the Knight and the position coordinates of the target are also given.

Your task is t...read more

View 3 more answers
Q12. Next Greater Number

You are given a string S which represents a number. You have to find the smallest number strictly greater than the given number which contains the same set of digits as of the original number...read more

View 2 more answers
Q13. Rat In A Maze

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a squar...read more

View 2 more answers
Q14. Make Array Elements Equal

You are given an array of integers of size ‘N’. You have to make the elements of the array equal, and the cost of changing the element ‘x’ to ‘y’ is abs(x -y). Your task is to find the ...read more

View 2 more answers
Q15. Maximum Consecutive Ones

Given a binary array 'ARR' of size 'N', your task is to find the longest sequence of continuous 1’s that can be formed by replacing at-most 'K' zeroes by ones. Return the length of this ...read more

View 3 more answers
Q16. Number of Islands II

You have a 2D grid of ‘N’ rows and ‘M’ columns which are initially filled with water. You are given ‘Q’ queries each consisting of two integers ‘X’ and ‘Y’ and in each query operation, you h...read more

View 2 more answers
Q17. Left View Of a Binary Tree

You have been given a binary tree of integers. You are supposed to find the left view of the binary tree. The left view of a binary tree is the set of all nodes that are visible when t...read more

View 2 more answers

Q18. find out the subset of an array of continuous positive numbers from a larger array whose sum of of the elements is larger in comparision to other subset. eg: {1,2 5 -7, 2 5} .The two subarrays are {1,2,5} {2,5}...

read more
Ans.

Find the subset of an array with the largest sum of continuous positive numbers.

  • Iterate through the array and keep track of the current sum and the maximum sum seen so far.

  • If the current element is positive, add it to the current sum. If it is negative, reset the current sum to 0.

  • Also keep track of the start and end indices of the maximum sum subset.

  • Return the subset using the start and end indices.

Add your answer
Q19. Sub Sort

You are given an integer array ‘ARR’. You have to find the length of the shortest contiguous subarray such that, if you sort this subarray in ascending order, then the whole array will be sorted in asce...read more

View 4 more answers
Q20. Pair Sum

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair shou...read more
View 3 more answers
Q21. Validate BST

You have been given a binary tree of integers with N number of nodes. Your task is to check if that input tree is a BST (Binary Search Tree) or not.

A binary search tree (BST) is a binary tree data ...read more

View 2 more answers
Q22. Square root (decimal)

You have been given two integers 'N' and 'D', Your task is to find the square root of the number 'N' with precision up to 'D' decimal places i.e. the difference between your answer and the ...read more

View 2 more answers
Q23. Shortest Path in a Binary Matrix

You have been given a binary matrix of size 'N' * 'M' where each element is either 0 or 1. You are also given a source and a destination cell, both of them lie within the matrix....read more

View 2 more answers
Q24. Reach the destination

Given a source point (sx, sy) and a destination point (dx, dy), the task is to check if it is possible to reach the destination point using the following valid moves:

(a, b) -> (a + b, b) (...read more
View 2 more answers
Q25. Maximum Sum Of (i * ARR[i]) Among All Possible Rotations Of An Array

You are given an array 'ARR' consisting of 'N' elements, and you need to find the maximum value of sum(i * ARR[i]) among all possible rotation...read more

View 2 more answers
Q26. Delete Node In BST

You have been given a Binary Search Tree of integers with ‘N’ nodes. You are also given data of a node of this tree. Your task is to delete the given node from the BST.

A binary search tree (B...read more

View 2 more answers
Q27. Longest Duplicate SubString

You are given a string 'S' and you need to return the length of the longest duplicate substring in the given string. The occurrence of duplicate sub-strings can overlap also.

If there...read more

View 3 more answers

Q28. In a normal e-commerce user flow, how will you determine the points at which the drop-off rates are high and what to do about them? (Take any e-commerce website and walk through the steps. You can use A/B Testi...

read more
Ans.

To determine high drop-off rates in e-commerce user flow, use analytics tools and A/B testing to identify and fix issues.

  • Use analytics tools like Google Analytics to track user behavior and identify points of drop-off

  • Conduct A/B testing to experiment with different solutions and determine which is most effective

  • Address issues such as slow page load times, confusing navigation, and lack of trust signals

  • Offer incentives such as free shipping or discounts to encourage users to c...read more

Add your answer
Q29. Technical Questions

I introduced myself and then was asked the following :-
1) Polymorphism, operator overloading, whether operator overloading comes under compile time or runtime polymorphism.
2) Difference betw...read more

Add your answer
Q30. Technical Questions

Then I was asked the following :-.
1) What is polymorphism and abstraction, give examples.
2) What are stateful protocols? Is HTTP stateful or stateless? Difference between http and https.
3) W...read more

Add your answer
Q31. OOPS Question

Given two classes C1 and C2 which are almost same.(remember not exactly same). You want to choose best among these classes so that it can be use as key in hash map. What question will you ask regar...read more

Add your answer
Q32. OOPS Question

What are the types of polymorphism?

Add your answer

Q33. Guess estimate: How many people are there in ISB's cafeteria right now?

Ans.

It is not possible to accurately guess the number of people in ISB's cafeteria without available data.

  • Without available data, it is impossible to estimate the number of people in the cafeteria.

  • The number of people in the cafeteria can vary greatly depending on the time of day and other factors.

  • To provide an accurate estimate, data such as the cafeteria's capacity and current occupancy would be needed.

View 1 answer
Q34. Technical Question

What is Lazy Loading? What are its advantages and disadvantages?

Add your answer
Q35. OOPS Question

What are the different OOPS concepts?

Add your answer

Q36. You are given two strings s1 and s2.Now, find the smallest substring in s1 containing all characters of s2

Ans.

Find smallest substring in s1 containing all characters of s2.

  • Create a hash table of characters in s2

  • Use sliding window technique to find smallest substring in s1

  • Check if all characters in s2 are present in the substring

  • Update the smallest substring if a smaller one is found

Add your answer
Q37. OS Question

How to copy files in Linux ?

Add your answer
Q38. OOPS Question

What is a virtual function?

Add your answer

Q39. Program to find all possible combinations of elements from two sets of arrays such that the sum of elements is equal to one of the elements in the array itself.

Ans.

Program to find all possible combinations of elements from two sets of arrays such that the sum of elements is equal to one of the elements in the array itself.

  • Create two arrays of integers

  • Loop through both arrays and find all possible combinations

  • Check if the sum of elements is equal to any element in the array

  • Return all combinations that meet the criteria

Add your answer

Q40. What features will you add for WhatsApp and what features will you remove/improve in WhatsApp?

Ans.

I would add a feature for scheduling messages and improve the privacy settings while removing the 'forwarded' label.

  • Add a scheduling feature for messages to be sent at a later time

  • Improve privacy settings by allowing users to control who can add them to groups

  • Remove the 'forwarded' label to reduce the spread of misinformation

Add your answer

Q41. How ajax works? Difference between angular js and jquery?

Ans.

Ajax is a technique for creating fast and dynamic web pages. AngularJS is a framework for building dynamic web applications, while jQuery is a library for simplifying HTML DOM traversal and manipulation.

  • Ajax stands for Asynchronous JavaScript and XML

  • It allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes

  • AngularJS is a JavaScript framework that extends HTML with new attributes and makes it more responsive to user actions

  • It provid...read more

Add your answer

Q42. What is lazy loading? Advantages and disadvantages of the same?

Ans.

Lazy loading is a technique used to defer the loading of non-critical resources until they are needed.

  • Advantages: faster initial page load, reduced bandwidth usage, improved user experience

  • Disadvantages: increased complexity, potential for slower subsequent page loads, difficulty with SEO

  • Examples: images, videos, and other media files can be loaded only when they are visible on the screen

Add your answer

Q43. Given n starting with all 1 find the kth number example: n = 3, k= 4 1 1 1

Ans.

Given n starting with all 1, find the kth number.

  • The kth number is obtained by incrementing the binary representation of n.

  • Repeat until k-1 increments are done.

  • Return the final value of n.

Add your answer

Q44. Program to find the next bigger number for the given number by just interchanging it's digits.ex- for 533224, answer is 533242

Ans.

Program to find the next bigger number for the given number by interchanging its digits.

  • Convert the number to a string to access individual digits

  • Start from the rightmost digit and find the first digit that is smaller than the digit to its right

  • Swap this digit with the smallest digit to its right that is greater than it

  • Sort the digits to the right of the swapped digit in ascending order

  • Convert the string back to a number and return

Add your answer

Q45. How your work will increase our revenue? By sharing the data we can improve our services.

Ans.

Sharing data insights can help improve services and identify revenue opportunities.

  • Analyzing customer behavior can help identify areas for improvement

  • Identifying trends in sales data can help optimize pricing strategies

  • Using data to personalize marketing efforts can increase customer engagement

  • Predictive modeling can help identify potential revenue opportunities

  • Tracking key performance indicators can help optimize business operations

Add your answer
Q46. Technical Questions

Relationships, Scaling, Load Balancing, and few complex queries on SQL Joins.

Add your answer
Q47. Networking Question

Port numbers of protocols like FTP,SMTP

Add your answer
Q48. OOPS Question

Difference between deep copy and shallow copy

Add your answer

Q49. Design a business plan for RedBus if it wants to enter into Indonesian market (Market Sizing, 4Ps, Competition etc.)

Ans.

RedBus can enter Indonesian market by targeting the growing middle class and partnering with local bus operators.

  • Conduct market research to identify target audience and competition

  • Partner with local bus operators to expand network and gain local expertise

  • Offer competitive pricing and promotions to attract customers

  • Invest in marketing and advertising to increase brand awareness

  • Ensure seamless user experience through website and mobile app

  • Consider offering additional services s...read more

Add your answer

Q50. Smallest window in a string containing all the characters of another string.(GFG)

Ans.

Find the smallest window in a string containing all characters of another string.

  • Use a sliding window approach to find the smallest window

  • Create a frequency map of characters in the second string

  • Slide the window and update the frequency map until all characters are found

  • Track the minimum window size and indices

View 1 answer

Q51. What is Redux state management? What is event loop, call back queue and call stack? Difference between let, const, var output questions based on set timeout, this, scoping. Coding question - zigzag string conve...

read more
Ans.

Redux is a predictable state container for JavaScript apps. Event loop, call stack, and callback queue manage asynchronous operations. let, const, var differ in variable scoping and reassignment. setTimeout delays execution. 'this' refers to the current context. Scoping determines variable accessibility.

  • Redux is a state management tool for JavaScript apps, ensuring predictable state changes.

  • Event loop manages the execution of callback functions, while call stack keeps track o...read more

Add your answer
Q52. System Design Question

Design a traffic light system.

Add your answer
Q53. Technical Question

How ajax works?

Add your answer

Q54. Algorithm to find if any 5 numbers add up to the value of the Sum

Ans.

Use a hash set to store seen numbers and check if the complement of current number is in the set.

  • Iterate through the array and for each number, check if the complement of the current number is in the hash set.

  • If the complement is found, return true. Otherwise, add the current number to the hash set.

  • Repeat this process for all numbers in the array.

  • Example: Array [1, 2, 3, 4, 5] and Sum 9 should return true as 4 + 5 = 9.

Add your answer
Q55. Technical Question

Difference between angular js and jquery.

Add your answer

Q56. What qualities should one have in sales?

Ans.

Salespeople should have good communication skills, be persistent, knowledgeable, and empathetic.

  • Excellent communication skills

  • Persistence and determination

  • Product and industry knowledge

  • Empathy and emotional intelligence

  • Ability to build relationships

  • Negotiation skills

  • Time management and organization

  • Adaptability and flexibility

Add your answer

Q57. 3. what is function overloading and overriding (difference between them)

Ans.

Function overloading and overriding are concepts in object-oriented programming that involve the use of multiple functions with the same name.

  • Function overloading refers to the ability to have multiple functions with the same name but different parameters in a class.

  • Function overriding refers to the ability to have a derived class provide a different implementation of a method that is already defined in its base class.

  • Overloading is resolved at compile-time based on the numbe...read more

Add your answer

Q58. Design a digital video streaming service. GTM and Monetization as well.

Ans.

A digital video streaming service with GTM and monetization.

  • Develop a user-friendly platform with a wide range of video content.

  • Implement a robust content delivery network (CDN) for seamless streaming.

  • Offer personalized recommendations based on user preferences and viewing history.

  • Integrate social sharing features to enhance user engagement.

  • Implement a subscription-based model with tiered pricing options.

  • Leverage targeted advertising to generate additional revenue.

  • Collaborate...read more

View 1 answer
Q59. Networking Question

Explain the OSI Model

Add your answer
Q60. OS Questions

Multithreading and Semaphore.

Add your answer

Q61. Given a linked list with next and arbitrary pointers, clone it

Add your answer
Q62. OS Questions

Cache Memory.
Critical Section Problem.
Mutex vs Semaphore.

Add your answer

Q63. Reverse the second half of the linked list in the most efficient way

Ans.

Reverse the second half of a linked list efficiently.

  • Find the middle node of the linked list

  • Reverse the second half of the linked list using a pointer

  • Update the pointers to connect the reversed second half with the first half

Add your answer

Q64. Deadlocks,4 conditions of Deadlocks and ways of preventing Deadlock

Ans.

Deadlocks occur when two or more processes are waiting for each other to release resources, leading to a standstill.

  • 4 conditions of Deadlocks: mutual exclusion, hold and wait, no preemption, circular wait

  • Preventing Deadlocks: using a proper resource allocation strategy, implementing timeouts, avoiding circular wait, using deadlock detection and recovery algorithms

  • Example: Two processes each holding a resource and waiting for the other to release the resource, causing a deadlo...read more

Add your answer

Q65. How will you increase the revenue of Netflix by 10x.

Ans.

To increase Netflix's revenue by 10x, we can focus on expanding the subscriber base, increasing subscription prices, and diversifying revenue streams.

  • Expand the subscriber base by targeting new markets and demographics

  • Increase subscription prices for premium features or exclusive content

  • Diversify revenue streams through partnerships, merchandise sales, or live events

Add your answer

Q66. Given a string a="aabbfaffb"; &amp; b="ab", write a code to replace given string and print "faffb"

Ans.

Replace substring in a given string and print the remaining string

  • Use string.replace() method to replace the substring

  • Print the remaining string using string slicing

Add your answer

Q67. Do you know something about google ad-words?

Ans.

Yes, Google AdWords is an online advertising platform developed by Google.

  • Google AdWords allows businesses to create and display ads on Google's search engine results pages and other websites.

  • It works on a pay-per-click model, where advertisers bid on keywords and pay for each click on their ads.

  • AdWords also offers various targeting options, such as location, language, device, and audience demographics.

  • It has now been rebranded as Google Ads and includes additional advertisin...read more

Add your answer

Q68. How will you measure the success of Google Pay?

Ans.

The success of Google Pay can be measured through user adoption rates, transaction volume, customer satisfaction, and revenue generated.

  • User adoption rates: Tracking the number of users who have downloaded and actively use the Google Pay app.

  • Transaction volume: Monitoring the total value and frequency of transactions processed through Google Pay.

  • Customer satisfaction: Conducting surveys or analyzing feedback to gauge user satisfaction with the app's features and performance.

  • R...read more

Add your answer

Q69. What is meaning of customer service for you?

Ans.

Customer service is the provision of assistance and support to customers before, during, and after purchase.

  • Customer service involves actively listening to customers and addressing their concerns

  • It is important to provide timely and accurate information to customers

  • Going above and beyond to exceed customer expectations is a key aspect of customer service

  • Customer service can help build long-term relationships with customers and increase customer loyalty

  • Examples of good custome...read more

Add your answer

Q70. Check whether linked list is Pallindrome or not

Ans.

To check if a linked list is a palindrome, compare the first half of the list with the reversed second half.

  • Traverse the linked list to find the middle element using slow and fast pointers.

  • Reverse the second half of the linked list.

  • Compare the first half with the reversed second half to check for palindrome.

Add your answer

Q71. find the min steps to convert string a to b, you can use deletion, insertion and replace any number of times.

Ans.

Use dynamic programming to find the minimum steps to convert string a to b by deletion, insertion, or replacement.

  • Create a 2D array to store the minimum steps required to convert substrings of a to substrings of b.

  • Initialize the array with base cases for empty strings and iterate through the rest of the array to fill in the values based on previous calculations.

  • The final value in the bottom right corner of the array will be the minimum steps required to convert the entire str...read more

Add your answer

Q72. Write algo for reversing a linked list

Ans.

Algorithm to reverse a linked list

  • Create a new empty linked list

  • Traverse the original linked list and insert each node at the beginning of the new list

  • Return the new list

Add your answer

Q73. What is DNS(Domain Name System)

Ans.

DNS is a system that translates domain names to IP addresses, allowing users to access websites using human-readable names.

  • DNS is like a phone book for the internet, translating domain names (e.g. google.com) to IP addresses (e.g. 172.217.3.206).

  • DNS servers store records that map domain names to IP addresses, helping users navigate the internet.

  • DNS also helps with email delivery by translating domain names in email addresses to IP addresses for routing purposes.

Add your answer

Q74. Develop a 5-year strategy for MakeMyTrip.

Ans.

Develop a 5-year strategy for MakeMyTrip.

  • Expand into new markets and increase customer base

  • Invest in technology to improve user experience and streamline operations

  • Offer personalized travel packages and loyalty programs

  • Partner with airlines and hotels to offer exclusive deals

  • Focus on sustainability and responsible tourism

  • Explore opportunities in emerging technologies like AI and blockchain

Add your answer

Q75. How do you think it aligns with MMT

Add your answer

Q76. dba differnce/explain mysql or nosql databse

Ans.

MySQL is a relational database management system, while NoSQL databases are non-relational databases.

  • MySQL is a traditional relational database that uses tables to store data and SQL for querying.

  • NoSQL databases are non-relational and can be document-based, key-value pairs, wide-column stores, or graph databases.

  • MySQL is ACID-compliant and suitable for complex queries and transactions.

  • NoSQL databases are often used for large-scale distributed data storage and processing.

  • Examp...read more

Add your answer

Q77. Find the merging point of two linked list

Add your answer

Q78. What is GST and GST on commission?

Ans.

GST stands for Goods and Services Tax, a tax levied on the supply of goods and services in India.

  • GST is a comprehensive indirect tax that has replaced many indirect taxes in India.

  • It is levied on the value-added to goods and services at each stage of the supply chain.

  • GST on commission refers to the tax levied on the commission earned by a person or entity for providing services.

  • The rate of GST on commission varies depending on the type of service provided.

  • For example, the GST...read more

Add your answer

Q79. One java string question merge two strings diagonally.

Ans.

Merge two strings diagonally in a Java array of strings.

  • Iterate through each row and column to merge characters diagonally

  • Keep track of the diagonal position to insert characters from both strings

  • Handle cases where strings have different lengths

  • Example: String 1: 'hello', String 2: 'world', Merged: 'hweolrllod'

  • Example: String 1: 'abc', String 2: '123', Merged: 'a1b2c3'

Add your answer

Q80. Design a traffic light system?

Ans.

A traffic light system controls the flow of traffic at intersections.

  • The system consists of three lights: red, yellow, and green.

  • Each light has a specific duration for which it stays on.

  • The system also includes sensors to detect the presence of vehicles and pedestrians.

  • The duration of each light can be adjusted based on traffic patterns.

  • The system can be connected to a central control system for remote monitoring and management.

Add your answer

Q81. How to teach a about computer?

Ans.

Teach computer basics through hands-on activities and interactive lessons.

  • Start with the basics of hardware and software

  • Introduce programming concepts through block-based coding

  • Encourage exploration and experimentation with different programs and tools

  • Teach internet safety and responsible use

  • Provide opportunities for students to collaborate and problem-solve

  • Use real-world examples to demonstrate the practical applications of computer science

Add your answer

Q82. What is Google's revenue model?

Ans.

Google's revenue model is primarily based on advertising through its search engine and other platforms.

  • Google earns revenue through its AdWords program, where advertisers bid on keywords to display their ads in search results and other Google platforms.

  • Google also earns revenue through its AdSense program, where website owners can display Google ads on their sites and earn a share of the revenue.

  • Other sources of revenue for Google include cloud services, hardware sales, and a...read more

Add your answer

Q83. Design an app similar to Uber but for Kids.

Ans.

An app similar to Uber for kids, providing safe and reliable transportation services for children.

  • Parents can schedule rides for their children through the app

  • Drivers are thoroughly vetted and background checked for safety

  • Real-time tracking and notifications for parents to monitor their child's journey

  • Option for parents to set restrictions on drop-off locations and who can pick up the child

  • Emergency contact feature for parents and drivers to communicate in case of any issues

Add your answer

Q84. If you get 500 error how to debug.

Ans.

To debug a 500 error, check server logs, review code changes, test API endpoints, and use debugging tools.

  • Check server logs for error details

  • Review recent code changes that may have caused the error

  • Test API endpoints using tools like Postman

  • Use debugging tools like Chrome DevTools or Firebug

Add your answer

Q85. What keyskills you have so we will select you.

Ans.

I have excellent communication skills, strong leadership abilities, and extensive experience in the travel industry.

  • Strong communication skills, both verbal and written

  • Leadership abilities and experience managing teams

  • Extensive knowledge and experience in the travel industry

  • Ability to analyze data and make informed decisions

  • Excellent customer service skills

  • Proficiency in relevant software and technology

  • Flexibility and adaptability to changing situations

  • Multilingual abilities

  • A...read more

Add your answer

Q86. 2. Can one edit standard libraries of C?

Add your answer

Q87. Reverse a linked list in groups of n

Ans.

Reverse a linked list in groups of n

  • Create a function that takes a linked list and a group size as input

  • Iterate through the linked list, reversing each group of nodes

  • Keep track of the previous and current node to update the pointers

  • Handle cases where the group size is larger than the remaining nodes

  • Return the head of the reversed linked list

Add your answer

Q88. Do you have any idea how is it working

Ans.

Understanding how the role functions and the responsibilities involved.

  • The role involves providing support to customers, addressing their queries and concerns.

  • Requires strong communication skills to effectively interact with customers.

  • Involves troubleshooting technical issues and providing solutions.

  • May require working in a team to ensure customer satisfaction.

  • Understanding company products/services to better assist customers.

  • Continuous learning and updating knowledge to stay...read more

Add your answer

Q89. create autosuggest debounce, pollyfill

Ans.

Autosuggest debounce is a feature that delays the search suggestions until the user stops typing, and a polyfill is a piece of code that provides functionality that is not natively supported by the browser.

  • Implement a debounce function to delay the autosuggest feature until the user stops typing.

  • Use a polyfill to provide support for the autosuggest feature in browsers that do not natively support it.

  • Example: Implement a debounce function that waits for 300ms after the user st...read more

Add your answer

Q90. Vertical level order traversal of a tree

Add your answer

Q91. How is Uber pool beneficial?

Ans.

Uber pool is beneficial as it reduces traffic congestion, lowers transportation costs, and promotes social interaction.

  • Reduces traffic congestion by allowing multiple passengers to share a ride

  • Lowers transportation costs for passengers as they split the fare

  • Promotes social interaction by bringing people together who may not have otherwise met

  • Increases efficiency by reducing the number of cars on the road

  • Helps to reduce carbon emissions by reducing the number of cars on the ro...read more

Add your answer

Q92. When would Uber pool fail?

Ans.

Uber pool would fail if the demand for shared rides decreases or if the cost of providing the service becomes too high.

  • Decrease in demand for shared rides

  • Increase in cost of providing the service

  • Competition from other ride-sharing services

  • Regulatory changes affecting ride-sharing services

  • Safety concerns or incidents

  • Technological disruptions affecting the ride-sharing industry

Add your answer

Q93. Detect loop in a LinkedList,

Ans.

Detect loop in a LinkedList

  • Use two pointers, one moving at twice the speed of the other

  • If there is a loop, the faster pointer will eventually catch up to the slower one

  • If there is no loop, the faster pointer will reach the end of the list

Add your answer

Q94. tell me end to end operation

Ans.

End to end operation refers to the complete process from start to finish in a particular operation or project.

  • Start with understanding client requirements

  • Research and plan the trip itinerary

  • Book flights, accommodations, and activities

  • Provide necessary travel documents and information to the client

  • Ensure smooth travel experience and handle any issues that may arise

  • Follow up with the client for feedback and future bookings

Add your answer

Q95. 1. Difference between C and C++

Add your answer

Q96. Find element in sorted rotated array

Ans.

Search for an element in a sorted rotated array

  • Use binary search to find the pivot point where the array is rotated

  • Then perform binary search on the appropriate half of the array to find the element

  • Handle cases where the element is not found in the array

Add your answer

Q97. get a maximum sum from picking corner elements

Ans.

Find the maximum sum by picking corner elements of a matrix

  • Start by selecting the four corner elements of the matrix

  • Compare the sum of the diagonally opposite corners and choose the pair with the higher sum

  • Repeat the process with the remaining elements until all corners are picked

Add your answer

Q98. calculate no of rows after join

Ans.

Calculate the number of rows after joining two datasets.

  • Count the number of rows in each dataset

  • Perform the join operation

  • Count the number of rows in the resulting dataset

Add your answer

Q99. elevator system design

Ans.

Designing an elevator system involves considering factors like capacity, speed, efficiency, and safety.

  • Consider the number of floors in the building and the expected traffic flow to determine the number of elevators needed.

  • Choose between different elevator types such as hydraulic, traction, or machine-room-less based on building requirements.

  • Implement a control system to optimize elevator movement and reduce wait times for passengers.

  • Include safety features like emergency sto...read more

Add your answer

Q100. Kadanes algorithm

Ans.

Kadane's algorithm is used to find the maximum subarray sum in an array of integers.

  • Iterate through the array and keep track of the maximum sum ending at each index.

  • At each index, choose between extending the previous subarray or starting a new subarray.

  • Example: For array [-2, 1, -3, 4, -1, 2, 1, -5, 4], the maximum subarray sum is 6 (from index 3 to 6).

Add your answer
1
2
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Top MakeMyTrip Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter