Tip 1 : Just focus on Data structures mostly arrays, string and dp and practice at least 350 Questions
Tip 2 : Prepare topics related to web tech like HTML, CSS, Node Js
Tip 3 : Prepare Java, OOPS and if required then spring framework and jsp, servlets and do atleast 2 good projects
Tip 1 : Everything should be clear and right what you have written on your resume.
Tip 2 : Have some projects on your resume and that projects should be done by you only and you should have proper knowledge of the tech and flow you have used in that projects.



Input: Let the binary tree be:

Output: 2
Explanation: The root node is 3, and the leaf nodes are 1 and 2.
There are two nodes visited when traversing from 3 to 1.
There are two nodes visited when traversing from 3 to 2.
Therefore the height of the binary tree is 2.



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.



‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’.
‘ARR1’ = [3 4 6 9 10]

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?