i
KLA
Filter interviews by
Numerical ability
APTITUDE
SUBJECT REALETD
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Find K most frequent elements in an array
Use a hashmap to store the frequency of each element in the array
Sort the hashmap based on frequency in descending order
Return the first K elements from the sorted hashmap
posted on 4 Apr 2024
posted on 23 Jul 2024
The General Aptitude Questions from the Sites are being asked
Java concepts, Arraylists, and hashmaps were being asked to use in a solution.
posted on 15 Oct 2022
I applied via Campus Placement and was interviewed in Apr 2022. There were 5 interview rounds.
A 15 mins game based aptitude round.
It consists of 2 coding questions one is of easy-medium level and other is of tough-medium level. It also had Questions specific to the roles and cs fundamental.
posted on 15 Oct 2023
I applied via campus placement at Motilal Nehru Institute National Institute of Technology (NIT), Allahabad and was interviewed before Oct 2022. There were 2 interview rounds.
Multiple questions on various data structures like arrays , linked lists
Dereferencing a null pointer means trying to access the memory location pointed to by a null pointer.
Dereferencing a null pointer can lead to a segmentation fault or access violation.
Example: int *ptr = NULL; int value = *ptr; // This will result in a segmentation fault.
posted on 15 Sep 2021
I was interviewed in Apr 2021.
Round duration - 45 minutes
Round difficulty - Medium
The first Round was held on Hackerrank and the questions were of medium difficulty based on Data Structures and Algorithms.
The time of test was 1:00 PM and it was of 45 minutes with 2 coding questions to be solved.
Consider 'N' individuals standing in a circle, numbered consecutively from 1 to N, in a clockwise direction. Initially, the person at position 1 starts counting and will skip K-...
This question is about finding the position of the last person surviving in a circle of N people, where each person kills the Kth person in a clockwise direction.
Implement a function that takes the number of test cases, N, and K as input
For each test case, simulate the killing process by iterating through the circle and skipping K-1 people
Keep track of the position of the last person surviving and return it as the outp
Stark Industry is planning to organize meetings for various departments in preparation for Stark Expo. Due to limited rooms in Stark Tower, the goal is to alloca...
The task is to find the minimum number of conference rooms required to organize all the meetings.
Sort the meetings based on their start time.
Initialize a priority queue to store the end times of the meetings in ascending order.
Iterate through the sorted meetings and check if the start time of the current meeting is greater than the end time of the meeting at the top of the priority queue.
If it is, remove the meeting fr...
Round duration - 75 minutes
Round difficulty - Medium
A google Doc was shared with us and we were supposed to write code there.
Use of IDEs was not allowed so we had to write correct code on Google Docs which was later checked by them through online IDEs.
The Interviewer were friendly and observative and helped us through code if we made some silly error.
Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, f...
The question is about finding the minimum number of throws required to reach the last cell on a Snake and Ladder board.
The board is represented as a 2D matrix with N rows and N columns.
Each square on the board can have a snake or ladder, represented by a non-negative number.
The destination of a snake or ladder is the value at the corresponding square.
You can only take a snake or ladder once per move.
If the destination ...
You are given an array/list HEIGHTS
of length N
, where each element represents the height of a histogram bar. The width of each bar is considered to be 1.
The task is to find the largest rectangle possible in a given histogram and return its area.
Iterate through the histogram and maintain a stack to keep track of the indices of the bars in non-decreasing order of heights.
For each bar, calculate the area of the rectangle that can be formed using that bar as the smallest bar.
To calculate the area, pop the bars from the stack until a bar with a smaller height is encountered...
Round duration - 60 minutes
Round difficulty - Easy
The face to face round was held on Google Meet where initially Interviewer asked a DS/Algo problem and then Later Manager Joined and asked about our resume projects in detail.
The time was 10:00 AM
Given an M x N matrix of integers ARR
, your task is to identify the rectangle within the matrix that has the greatest sum of its elements.
The first line of input co...
The task is to find the maximum sum rectangle in a given matrix of integers.
Iterate through all possible rectangles in the matrix
Calculate the sum of each rectangle
Keep track of the maximum sum rectangle found so far
Return the maximum sum
Assume you initially have an empty array called ARR
. You are required to return the updated array after executing Q
number of queries on this array.
There are two types of que...
The problem requires updating an array based on a series of queries, where each query can either insert a value or perform a bitwise XOR operation on all elements.
Use a loop to iterate through each query and update the array accordingly
For type 1 query, append the value to the end of the array
For type 2 query, perform a bitwise XOR operation on each element of the array with the given value
Return the updated array afte
Tip 1 : Prepare OS,DBMS,OOPs too
Tip 2 : Mention atleast one project or past work experience in your resume
Tip 3 : Try maintaining 8+ CGPA as sometimes shortlist is done based on CGPA
Tip 4 : Try past interview questions from Coding Ninjas Site.
Tip 1 : Try to Keep Resume 1 Pager
Tip 2 : Have atleast one project or past work experience mentioned
Tip 3 : Don't put false things on Resume as questions are asked in detail from Resume
posted on 16 Sep 2021
I was interviewed in Apr 2021.
Round duration - 120 minutes
Round difficulty - Medium
It was conducted in evening from 6 to 8 pm
Online live proctorong was there for which android phone was also needed along with laptop
This was the first round so i attended interview in the next round.
You will be provided with an array/list 'ARR' consisting of 'N' positive integers representing runs scored by 'N' top players in their last innings. An integer 'X' is also...
The basic idea of this approach is to iterate the whole ‘ARR’ from start and check for all the elements present after it. If the sum of the current pair is less than or equal to ‘X’ minus 30 then we will check if it is less than our temporary answer or not. If it is less then we will replace it with a temporary answer.
Here is the algorithm:
Round duration - 3 hrs
Round difficulty - Medium
It started from 9'o clock in the morning
It was conducted on webex meetings app.
The interviewer was very professional.
Round duration - 90 minutes
Round difficulty - Hard
It was in the evening
Tip 1 : Practise at least 2 coding questions on daily basis
Tip 2 : After learning a particular topic try to implement it on some real world project
Tip 1 : Mention the latest projects that you have done
Tip 2 : Be very clear and precise regarding your projects
Iterative fibonacci function using a loop to calculate the Fibonacci sequence.
Initialize an array to store Fibonacci numbers
Use a loop to calculate each Fibonacci number based on the previous two numbers
Return the array of Fibonacci numbers
Interview experience
Technology Specialist
14
salaries
| ₹27 L/yr - ₹63 L/yr |
Softwaretest Engineer
10
salaries
| ₹4 L/yr - ₹6 L/yr |
Technical Lead
8
salaries
| ₹16 L/yr - ₹54 L/yr |
Product Development Engineer
7
salaries
| ₹10.7 L/yr - ₹24 L/yr |
Associate Technical Leader
7
salaries
| ₹30 L/yr - ₹45 L/yr |
Applied Materials
Lam Research
ASML
Entegris