Tip 1 : prepare data structure like heap
Tip 2 : prepare DP
Tip 1 : Highlight the skills that you well aware of.
Tip 2 : Include ratings of skills that you have in resume.



1 Initially I tried with Run two nested loops from start to end and for every iteration of the outer loop, i tried to find the count of intervals that intersect with the current interval except itself.
2 Update the answer with the maximum count of overlap in each iteration of the outer loop and print ans.
But this is not best solution so i tried to improve my solution by using heap data structure.so time time complexity reduced a lot.



Suppose, Ninja is stuck at node 62. The possible exit points in the maze are: 40, 10, and 20. From all the possible exit points the closest ones are 10 and 20 which are at a distance of 1 unit.
1 first i tried to store Inorder traversal of given binary search tree in an auxiliary array and then by taking absolute difference of each element i tried to find the node having minimum absolute difference with given target value K in linear time.
2 But its not efficient solution because i have not used the charectoristics of BST so i tried with optimised approach like
a If my target value K is present in given BST, then it’s the node having minimum absolute difference.
b If target value K is less than the value of current node then move to the left child.
c If target value K is greater than the value of current node then move to the right child.
1 Horizontal scaling vs vertical scaling
2 There is a machine having some position in terms of coordinates so this can move in four directions and there is one string of movements specified in terms of directions so after completion of all operation we need to ans finally the machine will face in which direction. so we need to design structure of different classes we need with full functionality and exception handling
Tip 1: when to use which scaling we need to have deep knowledge.
Tip 2: we need to have proper answer of why we are making variables/methods are private/public/protected.
Tip 3: proper use of Solid Principles and design principles.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?