Tip 1 : Solve at least 3 LeetCode questions daily of any difficulty level
Tip 2 : Try to use what you are learning in day to day work by taking new initiatives at work.
Tip 3 : Try to bring in new technologies (such as No SQL DB, messaging queues etc) into your day to day work.
Tip 1 : Make it concise.
Tip 2 : Keep numbers handy such as TPAs and QPS your services are handling.
Had 1 week of time to complete the online coding round which also had some MCQ questions around OS and DS.
Write a query to get desired information from DB.
Tip 1 : Write simple queries and try to avoid joins
Tip 2 : Practice SQL queries.
Tip 3 : Practice nested queries and group by queries.



It is possible for Mr. X to rob the same amount of money by looting two different sets of houses. Just print the maximum possible robbed amount, irrespective of sets of houses robbed.
(i) Given the input array arr[] = {2, 3, 2} the output will be 3 because Mr X cannot rob house 1 (money = 2) and then rob house 3 (money = 2), because they are adjacent houses. So, he’ll rob only house 2 (money = 3)
(ii) Given the input array arr[] = {1, 2, 3, 1} the output will be 4 because Mr X rob house 1 (money = 1) and then rob house 3 (money = 3).
(iii) Given the input array arr[] = {0} the output will be 0 because Mr. X has got nothing to rob.
At each house, we need to determine whether or not we will steal from that house. This can be determined based on the value of the previous two houses. This is a DP problem.
Problem solving around Data Structures
Design a simple messaging application like Kafka
Used hasmap and queue to store the information about consumers and messages being produced.
Design the terminal management system
Tip 1 : Practice System Design as much as possible.
Tip 2 : Learn about load balancing, auto scaling, DB sharding etc.
Tip 3 : Participate in HLD and LLD discussions in current organization
Manager discussion + problem solving


For corner elements, we need to consider only one neighbour for comparison.
For the given array : 10 5 20 30 40 35 50

The red circle at index 1,5 are local minima because elements at index 1, and 5 both are smaller to its neighbours.
The green circle at index 0,4,6 are local maxima, because element at index 4 is greater than its neighbours, and element at 0, and 4 are corner elements and also greater than its one neighbour.
Salary discussions and discussions about other offers.
Why I deserve the hike I am asking for. What if I don't join the company after getting the offer?
Tip 1 : Be polite.
Tip 2 : Be confident.
Tip 3 : Have proper justifications about your demands.

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?