Tip 1 : Most of the HR questions didn’t require any preparation but the recollection of your past journey would be an excellent option because if you can co-relate the question asked in the interview to the real-life situation which has occurred before, there are decent chances of yours getting selected.
Tip 2 : Make a document where you can add answers to those questions which you think the interviewer can ask you about your resume. Like your introduction, Descriptions of your projects, Why do you want to join XYZ company, What are your strengths and weaknesses, etc
Tip 3 : Do good research about the company and recruiters. Research the company you are interviewing for thoroughly. Also, if you know your interviewer beforehand, follow on LinkedIn to know more about their work.
Tip 1 : Add at least 2 mid-level projects and also add there GitHub link
Tip 2 : Do not lie on your resume or try to cheat in the interview. Write only those things in your resume that you are confident about.
It was conducted on AMCAT. Around 200+ students have registered for the Online Test. The test duration was 60 minutes consisting of two coding questions.



If a particular job has a deadline 'x', it means that it needs to be completed at any time before 'x'.
Assume that the start time is 0.
'N' = 3, Jobs = [[1, 1, 30], [2, 3, 40], [3, 2, 10]].
All the jobs have different deadlines. So we can complete all the jobs.
At time 0-1, Job 1 will complete.
At time 1-2, Job 3 will complete.
At time 2-3, Job 2 will complete.
So our answer is [3 80].
1) Sort all jobs in decreasing order of profit.
2) Iterate on jobs in decreasing order of profit.For each job , do the following :
a)Find a time slot i, such that slot is empty and i < deadline and i is greatest.Put the job in
this slot and mark this slot filled.
b)If no such i exists, then ignore the job.



For the given binary tree

The level order traversal will be {1,2,3,4,5,6,7}.



A pair ('ARR[i]', 'ARR[j]') is said to be an inversion when:
1. 'ARR[i] > 'ARR[j]'
2. 'i' < 'j'
Where 'i' and 'j' denote the indices ranging from [0, 'N').
Usually, companies asked questions mainly based on OOPS, DBMS, Low-Level Design using OOP, and Database Design using SQL Queries. But be prepared with all the CS Subjects because you never know what the interviewer will ask you during the interview.



‘ARR’ can also contain empty strings.
You will return -1 if ‘K’ does not exist in ‘ARR’.
‘ARR’ = [ “code”, “hi”, “”, “”, “studio”, “”, “to”, “welcome” ] and ‘K’ = “hi”.
As we can see ‘K’ is present on index 1 in ‘ARR’.
So we will return 1.



Input: Consider the binary tree A as shown in the figure:

Output: [10, 5, 3, 7, 18, 25, 20]
Explanation: As shown in the figure
The nodes on the left boundary are [10, 5, 3]
The nodes on the right boundary are [10, 20, 25]
The leaf nodes are [3, 7, 18, 25].
Please note that nodes 3 and 25 appear in two places but are considered once.
We break the problem in 3 parts:
1. Print the left boundary in top-down manner.
2. Print all leaf nodes from left to right, which can again be sub-divided into two sub-parts:
Print all leaf nodes of left sub-tree from left to right.
Print all leaf nodes of right subtree from left to right.
3. Print the right boundary in bottom-up manner.
We need to take care of one thing that nodes are not printed again. e.g. The left most node is also the leaf node of the tree.
What are recursion and their types with code?
I only know three types of recursion and he was satisfied with them.
What is the difference between process and threading?
Tip 1 : For Operating System, I have used Love Babbar CheatSheet, InterviewBit, and Gate Smashers OS Playlist. You can also refer Sanchit Jain Playlist
Tip 2 : Try to answer exactly and with some example
The HR round is to judge your personality, your strengths, your weaknesses, your capability to handle the role, to check your background, and to understand if you're the right fit for this job.
Introduce yourself
Tip 1 : Try to add all the summaries of your resume in 2-3 lines.
Tip 2 : Tell something different than your resume.
Why do you want to join Morgan Stanley?
Tip 1 : Do good research about the company and recruiters. Research the company you are interviewing for thoroughly.
Tip 2 : Also, if you know your interviewer beforehand, follow on LinkedIn to know more about their work.
Then He asked me about my projects and He mainly focused on my group project.
Tip 1 : Try to explain your projects briefly.
Tip 2 : Tell about your techstack

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?