NCR Voyix
10+ Le Méridien Interview Questions and Answers
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
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
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
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
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
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
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
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.
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
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
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.
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
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
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?
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
OS - Process Scheduling, Deadlock, Memory Management
DBMS - Normalisation, Joins, Foreign key
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
This round was mainly based on my Projects and Tech Stack I used in my Projects.
Basic concepts of OOPS were asked like Inheritance, Polymorphism, Abstraction, and Encapsulation.
Basic concepts on OOPS was asked like:
Friend Function
Inheritance
Polymorphism
Abstraction
Encapsulation.
More about working at NCR Voyix
Top HR Questions asked in Le Méridien
Top Software Developer Intern Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month