Tip 1 - Practice at least 250 Questions from coding ninjas
Tip 2 - Do some good projects
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume and be confident.
consider every bracket and recursively count number of reversals by taking two cases (i) keeping the bracket as it is (ii) reversing the bracket. If we get a balanced expression, we update result if number of steps followed for reaching here is smaller than the minimum so far.
Solution is to generate all subsets of a given set of jobs and check individual subsets for the feasibility of jobs in that subset. Keep track of maximum profit among all feasible subsets.
He gave me to write a code in Java using OOP.
Later asked me advantages of abstraction and interfaces.
Later he asked me questions like if I give you 1 million dollar where and how will you use it?