Add office photos
Employer?
Claim Account for FREE

NCR Voyix

3.9
based on 1.5k Reviews
Filter interviews by

10+ Le Méridien Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Longest Palindromic Substring

You are given a string (STR) of length N.

Your task is to find the longest palindromic substring. If there is more than one palindromic substring with the maximum length, return the...read more

View 4 more answers
Q2. Count ways to reach the nth stairs

You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair. Each time you can either climb one step or two steps. You are...read more

View 5 more answers
Q3. Partition a set into two subsets such that the difference of subset sums is minimum.

You are given an array containing N non-negative integers. Your task is to partition this array into two subsets such that the...read more

Ans.

The task is to partition an array into two subsets such that the absolute difference between subset sums is minimum.

  • Iterate through all possible subsets of the array

  • Calculate the sum of each subset

  • Find the minimum absolute difference between the subset sums

View 2 more answers
Q4. Prime Time Again

You have been given two integers ‘DAY_HOURS’ and ‘PARTS’. Where ‘DAY_HOURS’ is the number of hours in a day and a day can be divided into ‘PARTS’ equal parts. Your task is to find total instance...read more

View 4 more answers
Discover Le Méridien interview dos and don'ts from real experiences
Q5. Third greatest element

Given an array/list 'ARR' of ‘N’ distinct integers, you are supposed to find the third largest element in the given array 'ARR'.

Input Format :
The first line contains a single integer ‘T’...read more
View 3 more answers
Q6. Reverse A Doubly Linked List

You are given a doubly-linked list of size 'N', consisting of positive integers. Now your task is to reverse it and return the head to the modified list.

Note:
A doubly linked list i...read more
Ans.

The task is to reverse a given doubly linked list and return the head of the modified list.

  • Create three pointers: prev, current, and next.

  • Iterate through the linked list and update the next and prev pointers for each node.

  • Finally, update the head pointer to the last node visited and return it as the head of the reversed list.

View 2 more answers
Are these interview questions helpful?
Q7. Puzzle

1. How do we measure forty-five minutes using two identical wires, each of which takes an hour to burn? The wires burn non-uniformly.
2. Given two hourglass of 4 minutes and 7 minutes, the task is to measu...read more

Add your answer
Q8. Sort elements by frequency

You are given a list of a repeated set of integers. Your task for the problem is to return a list of the given elements in decreasing sorted order of their frequency of repetition in t...read more

Ans.

The task is to sort a list of integers based on their frequency of repetition, with the element with the highest frequency first.

  • Count the frequency of each element in the list using a dictionary.

  • Sort the elements based on their frequency in descending order.

  • If two elements have the same frequency, maintain their original order.

  • Return the sorted list.

View 1 answer
Share interview questions and help millions of jobseekers 🌟
Q9. DBMS

What is Normalization ?
Why it is needed ?
Types of Normalizations and there conditions.
What is Indexing ?
Types of Indexing and the difference between them.
2-3 SQL queries to find the nth largest salary , ma...read more

Add your answer
Q10. OOPS Concepts

Real Life Examples of OOPS fundamentals like Abstraction , Encapsulation , Polymorphism , Inheritance.
Difference between Dynamic and Static Polymorphism.
To write a small program which shows how Dyn...read more

Add your answer
Q11. Operating System

What is Deadlock ?
What are the conditions of Deadlock ?
Real life scenarios where deadlock happens.
What is CPU Scheduling?
Round Robin in CPU Scheduling.
What are Semaphores and its applications?

Add your answer
Q12. Puzzle

There is a room with a door (closed) and three light bulbs. Outside the room, there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you ...read more

Add your answer
Q13. Technical Questions

OS - Process Scheduling, Deadlock, Memory Management
DBMS - Normalisation, Joins, Foreign key

Ans.

The question covers topics related to operating systems and database management systems.

  • Process scheduling in operating systems involves determining the order in which processes are executed.

  • Deadlock refers to a situation where two or more processes are unable to proceed because each is waiting for the other to release a resource.

  • Memory management in operating systems involves allocating and managing memory resources for processes.

  • Normalization in DBMS is the process of organ...read more

Add your answer
Q14. Technical Questions

This round was mainly based on my Projects and Tech Stack I used in my Projects.

Add your answer
Q15. OOPS Questions

Basic concepts of OOPS were asked like Inheritance, Polymorphism, Abstraction, and Encapsulation.

Add your answer
Q16. OOPS Questions

Basic concepts on OOPS was asked like:
Friend Function
Inheritance
Polymorphism
Abstraction
Encapsulation.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
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