Filter interviews by
Why it so important to be happy?
I applied via Walk-in and was interviewed in Feb 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Mar 2024. There was 1 interview round.
I applied via Indeed and was interviewed in Jan 2024. There was 1 interview round.
McDonald's interview questions for popular designations
Get interview-ready with Top McDonald's Interview Questions
I applied via Job Fair and was interviewed in Feb 2024. There was 1 interview round.
Use merge sort algorithm to sort the array in O(nlogn) time complexity.
Implement merge sort algorithm which divides the array into two halves, recursively sorts the halves, and then merges the sorted halves.
Time complexity of merge sort is O(nlogn) where n is the number of elements in the array.
Example: ['apple', 'banana', 'cherry', 'date'] can be sorted using merge sort in O(nlogn) time complexity.
Use binary search to find element in sorted array efficiently.
Start with middle element and compare with target
If target is less, search left half, if greater search right half
Repeat until element is found or search space is empty
Top trending discussions
Interview experience
based on 2.1k reviews
Rating in categories
22-26 Yrs
₹ 55-60 LPA
12-14 Yrs
₹ 18-20 LPA
Assistant Manager
491
salaries
| ₹2 L/yr - ₹5.5 L/yr |
Shift Manager
361
salaries
| ₹1.3 L/yr - ₹4 L/yr |
Crew Member
361
salaries
| ₹0.5 L/yr - ₹4 L/yr |
Crew Trainer
259
salaries
| ₹1 L/yr - ₹4.5 L/yr |
Restaurant Manager
212
salaries
| ₹3.1 L/yr - ₹8.1 L/yr |
Domino's Pizza
Burger King
KFC
Pizza Hut