Tip 1 : Be confident and try to communicate with the interviewer.
Tip 2 : Practice all the coding concepts.
Tip 1 : Have projects related to the skills mentioned in the job description.
Tip 2 : Be perfect with the things that you put on resume. If you feel not confident enough remove them from resume.
Tip 1 : Read the problem statement carefully before starting to code.
This can be solved using maps or by taking extra array(storing frequencies).
I have solved this problem through recursion. I have discussed my approach with the interviewer and this discussion was good as it went on for 20minutes. He asked me all the edge case scenarios to check my code covers them or not. I have explained him all his cases and he satisfied.
I was asked to code this question fast as we were running out of time. I have codes this in short time as I was aware of tree traversals. I have solved this using the height concept of tree.
If any character is a ‘?’ we can replace that character with any other character. If a char...
I solved it with the help of frequency. Extra array was taken and stored all the frequencies and solved it.
Can go through above link. My solution is also similar to the one in link.
There are 9 boxes and 36 balls. Can we arrange odd number of balls in every box?
All the oops concepts were asked. All the collection frameworks were asked and asked me to explain how hashmap works(algorithm). Thread questions were asked and I have no work experience in multi threading and I told the interviewer same and he didn't ask any from multi threading.
Tip 1 : Be thorough with all the oops concepts and examples.
Tip 2 : Don't mention any word which you don't know as your next question can be on the word that you said.