Tip 1 : Never give up on any question, Don't try to mug up the question, rather than understand the concept behind the topic, this will only help to solve the question while being in the interview.
Tip 2 : Never leave core topics like OS, DBMS etc. They are always asked in an interview
Tip 3 : Focus on core skills i.e DS and Algo but also focus on development projects, they are of much importance.
Tip 4 : Spend time on quality questions rather than the quantity of questions
Tip 1 : Properly formatted resume with no typos.
Tip 2 : No fancy and colourful resumes.
Tip 3 : Should have projects on your resume.
Tip 4 : Should have links to your GitHub and Linkedin and other competitive sites
Tip 5 : No false information to be mentioned, even in cocurricular
Timing: Evening around 5
The test was set up inside the computer centre and library of our institute.
There were people from GS and also from hackerrank who were conducting the test.
The test had mcqs + coding questions + essay writing.
Overall the paper I found was medium



If the given string is 56789, then the next greater number is 56798. Note that although 56790 is also greater than the given number it contains 1 '0' which is not in the original number and also it does not contain the digit '8'.
The given string is non-empty.
If the answer does not exist, then return -1.
The given number does not contain any leading zeros.



Here, sorted paths mean that the expected output should be in alphabetical order.
Given a square matrix of size 4*4 (i.e. here 'N' = 4):
1 0 0 0
1 1 0 0
1 1 0 0
0 1 1 1
Expected Output:
DDRDRR DRDDRR
i.e. Path-1: DDRDRR and Path-2: DRDDRR
The rat can reach the destination at (3, 3) from (0, 0) by two paths, i.e. DRDDRR and DDRDRR when printed in sorted order, we get DDRDRR DRDDRR.



The round included discussion over my resume and the projects I had made. Along with that, the person was fascinated by the co-curricular so he went on asking about those.
Finally we started discussing data structures and algorithm.



Input: 'arr' = [1, 2, 7, -4, 3, 2, -10, 9, 1]
Output: 11
Explanation: The subarray yielding the maximum sum is [1, 2, 7, -4, 3, 2].
There are 3 ants sitting on three corners of a triangle. All ants randomly pick a direction and start moving along the edge of the triangle. What is the probability that any two ants collide?
Round included Data Structures, System Design, Puzzle and HR based questions




1. You are not required to print the output explicitly, it has already been taken care of. Just implement the function and return the ‘K-th’ smallest element of BST.
2. You don’t need to return ‘K-th’ smallest node, return just value of that node.
3. If ‘K-th’ smallest element is not present in BST then return -1.
He asked me to do a system design for a website like Instagram which can be used by travellers.
What are Semaphores? Explain in detail
Implementing the LRU Cache and its uses
a person has 3000 bananas and a camel. He wants to transport the maximum number of bananas to a destination which is 1000 KMs away Camel eats 1 banana for every km. What is the maximum number of bananas that can be transferred to the destination using the only camel?

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?