Tip 1 : DSA is a must (Around 300+ questions)
Tip 2 : Good knowledge of core subjects like DBMS, OS, CN
Tip 3 : 2 Good projects + SQL and queries
Tip 1 : Good formatting of resume, have the knowledge of what you put into your resume
Tip 2 : should be a 1-page resume with at least 2 projects
There were 3 coding questions. questions were implemented based on arrays and trees
Question 1 was Easy
Question 2 was Medium
Question 3 was Medium
all 3 questions were necessary to be selected for the next round.




1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.



1. The heights of the buildings are positive.
2. Santa starts from the cell (0, 0) and he has to reach the building (N - 1, M - 1).
3. Santa cannot leave the grid at any point of time.
It was DSA based round where there was some discussion on the project followed by 2 coding questions, I had to explain my approach and write the code on Google Docs.



Anagrams are defined as words or names that can be formed by rearranging the letters of another word. Such as "spar" can be formed by rearranging letters of "rasp". Hence, "spar" and "rasp" are anagrams.
'triangle' and 'integral'
'listen' and 'silent'
Since it is a binary problem, there is no partial marking. Marks will only be awarded if you get all the test cases correct.
I first explained the naive approach of O(n^2) time complexity, then Interviewer asked me to optimize the solution.
So I made use of a dictionary to reduce the time complexity and the interviewer was happy with it.



If the given array is: [1 3 1 4]. The longest mountain subarray would be 3. This is because the longest mountain is [1 3 1] having length 3.
I first explained the naive approach of O(n^2) time complexity, then Interviewer asked me to optimize the solution. So I used the concept of peaks to calculate largest peaks and store its length in a variable containing the largest length
This round mainly revolved around a system design for an e-commerce website, then some DBMS queries followed by interview questions on OS, DBMS, and Computer Networks. Also there was some discussion of project, how it works, why I made the project, etc.
Build the db design for an e-commerce application.
Functionalities:
Users can order a product.
A product can have multiple categories.
Users should be able to order multiple products and pay for it.
The application should be able to handle the inventory of products.
Think about Data modeling, Data querying and how will you build this application for the end-user?
Also, the system should be highly available and resilient to failures.
Tip 1 : Think of all possible entities and attributes
Tip 2 : Make Correct Relations between entities
Tip 3 : Read 2-3 system designs before interview
Some HR questions were asked like other offers, Why do you wanna join Hashedin, and strengths and weaknesses.
After that a puzzle was asked which I correctly answered
A man is walking down the village road with a tiger, a goat, and a bundle of grass. Soon he arrives at the river bank where there is one tiny boat that can carry him and another animal or grass at a time. Here is the problem: Left alone, the tiger will eat the goat. And similarly, the goat will eat the grass bundle. How is he going to take all three across the river safely?
Tip 1 : Read more and more puzzles before interview

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?