Tip 1 : Prepare one/two project which implements CRUD (create, read, update and delete) operations on database.
Tip 2 : Have some exaperience in competitive programming (preferably leetcode ) which really helps in solving coding questions in interviews on time.
Tip 3 : Prepare popular conding and CS fundamentals(OS, DBMS etc,) questions previously/frequently asked in interviews of different companies.
Tip 4 : Have self confidence to express yourself 100% in interview.
Tip 1 : Add atleast 2 to 3 projects to your resume as I mentioned earliar
Tip 2 : Write only those things in resume that you really know because interviewer ask questions based on your resume.
Tip 3 : Don't exaggerate(or fill your resume with unwanted things) anyhting in your resume.
There were 10 MCQs based on OOPs, Data structures and CS fundamentals and 2 conding questions of medium to hard difficulty level



1. The array may contain duplicate elements.
2. The array can also contain negative integers.
3. Every element of the subsequence must be greater than or equal to the previous element.
I gave some time to read and understand the problem then started coding.
Approach: like in LIS problem, we store length of LIS in the dp array but in LIS with max sum we'll store the sum of LIS in dp array.dp[i] represents LIS ending at ith index with maximum possible sum.
Finally, we have to return max element from the dp array which is Maximum sum increasing subsequence.



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].
Step 1 : we will first store all the jobs with there respective deadlines and sort them in descending order of their profit.
Step 2 : we will start the counter c to check the deadline we have reached till now in increasing order and if the jobs deadline is greater than c we continue adding max profit for that deadline.
Step 3 : If c has reached to that deadline but there are more job in that deadline we will check if the jobs remaining in that deadline are greater than the smallest profit job we have done before (and STL Heap can maintain it easily) , if jobs profit is greater than previously done job than we will pop that previous job and add this new one.
Interviewer asked questions based on CS fundamentals for first 10 minutes and then he asked a coding question to solve in 1/2 hours and then we had a brief discussion with questions & answers on one of my project.



Each pair should be sorted i.e the first value should be less than or equals to the second value.
Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
I iterated through the array and stored current element in map and at the same time checking where (S-arr[i]) is present in my map or not . If present then print these pairs.
Interviewer asked questions based on CS fundamentals and OOPs basic questions for first 10 minutes and then he asked a coding question to solve in 1/2 hours and then we had a detailed discussion on one of my project.



I gave some time and understood the problem fully by asking interviewer all the constraints of the problem and then I starting solving it using two-pointer approach where I incresed first pointer at every interations moved first pointer only when the total number of distict characters exceeded K and at the same time I was updating my answer with max value so far.
HR first asked about myself in detail, my hobbies and interests to make me cofortable. Then he discussed about the techstacks used in my projects and their working in details and also he gave some situaltional based questions.
Situational question: You have to make a chat app for the rural area and for the age group above 50.
What are the some important features that can be added to this app .
Tip 1 : Don't panic take your time and observe the question carefully
Tip 2 : Try to give a feasible answer.
Tip 3 : I gave three features:

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?