Tip 1: Practice at least 300 medium-to-hard coding questions.
Tip 2: Have thorough knowledge of your role in the project.
Tip 3: Prepare one system design question.
Tip 1: Include only your latest project on your resume.
Tip 2: Mention your extracurricular activities on your resume.
It has 3 coding questions of medium-hard level, and the time limit was only 60 minutes.



'N' = 7, 'C' = 4, pages = [1, 2, 1, 4, 2, 3, 5].
For the first four pages, memory allocated with four pages, {1, 2, 1, 4}, page fault = 3.
For fifth, page number 2 is required, which is already present, page fault = 3.
Then, page number 3 is required, replaces LRU 2, page fault = 4.
Then, page number 5 is required, replaces LRU 1, page fault = 5.
The total page fault is 5.



1. The heights of the buildings are positive.
2. Santa starts from the cell (0, 0) and he has to reach the building (N - 1, M - 1).
3. Santa cannot leave the grid at any point of time.



Given ‘N’ = 3, ‘ARR’[] = 3, 2, 1.
The answer will be one because you can stack one over two over 3. Therefore only these can be inserted in the same tower.
Started off with an introduction, then the interviewer gave me a data structure problem.



In the below histogram where array/list elements are {2, 1, 5, 6, 2, 3}.
The area of largest rectangle possible in the given histogram is 10.



Merge Sort Algorithm -
Merge sort is a Divide and Conquer based Algorithm. It divides the input array into two-parts, until the size of the input array is not ‘1’. In the return part, it will merge two sorted arrays a return a whole merged sorted array.

The above illustrates shows how merge sort works.
It is compulsory to use the ‘Merge Sort’ algorithm.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: