Tip 1 : Know commonly used Data Structures and Algorithns.
Tip 2 : Be consistent while practicing. Solve atleast one question daily.
Tip 3 : It is better to solve good quality of questions, instead of just solving a lot of questions.
Tip 4 : If you are preparing for SDE 2, system design will definitely be asked. Prepare both High level design and Low level design.
Tip 1 : Mention only those projects you have actually worked upon and know well. You will be asked a lot of questions from it.
Tip 2 : Even if people says its not true, a background as a competitive programmer boosts your resume. You can mention your ratings/ achievements from different coding websites like Leetcode, Codeforces, etc.
Got the test link on mail. I was given 3 days to complete the test. The test was held on Hackerrank. Webcam was switched on and there was restriction on tab switching. There were two questions of medium level difficulty.



A subsequence is a sequence that can be derived from another sequence by deleting zero or more elements without changing the order of the remaining elements.



It was held on zoom. This was a DS algorithm based round. The interviewer was a Senior Software Developer at Arcesium



The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.
First used brute force to solve the problem. Solution was O(N2). I was then asked to optimise. I used a 2 array approach to solve it in linear time and linear space. I was asked to optimise for space. I used tow pointer approach to reduce space complexity.



For given N = 4, M = 4,

The connection between system node 0 and 1 is a critical connection.
This round was mostly focused on my problem solving and the way of writing the solution. What is more.preferred : readability or optimisation



1. Any left parenthesis '(' must have a corresponding right parenthesis ')'.
2. Any right parenthesis ')' must have a corresponding left parenthesis '('.
3. Left parenthesis '(' must go before the corresponding right parenthesis ')'.
4. '*' could be treated as a single right parenthesis ')' or a single left parenthesis '(' or an empty string.
5. An empty string is also valid.
Design a rate limiter. Only maintain connections for an hour, thenterminate the connections. Some coding was required to display actual implementatio, but the discussion was mostly high level based
Tip 1 : Listen to the question carefully and ask for all.the requirements in the beginning.
Tip 2 : Keep saying what you are thinking for the approach. Don't just stay quiet. Even if you are think something, say it out loud whatever is going on in your mind.
Tip 3 : If you get stuck somewhere, interviewer usually drop tips/hints to guide you. Listen to those carefully
There were two interviewers. Focus was more on Low level design.
Design hotel management system. Focus was mostly on designing classes, db schema, designing table structure and columns to handle different types of requeirements coming from both customer side(such as scheduling a room, cancelling a booking, eequesting for add on facilities, user login, deleting user account, etc) and developer side( such as getting list of bookings for a particular duration, getting a list of active users, request to display system logs, proper indexing etc). Was also asked how to impelement a new requirement in an existing system.
Tip 1 : Listen to the question carefully and ask for all the requirements in the beginning.
Tip 2 : Keep saying what you are thinking for the approach. Don't just stay quiet. Even if you are think something, say it out loud whatever is going on in your mind.
Tip 3 : If you get stuck somewhere, interviewer usually drop tips/hints to guide you. Listen to those carefully
Tip 4 : Best way to improve is moke interviews. Grab a friend/ mentor with whom you can give mock interviews on different topics. Grokking system design interview is a good source to read different system design problems.

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?