Problem of the day
Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.
Be sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.
This round was held during university hours and consisted of 2 coding questions.
Given a string S, remove consecutive duplicates from it.
There are n houses build in a line, each of which contains some value in it. A thief is going to steal the maximal value of these houses, but he can’t steal in two adjacent houses because the owner of the stolen houses will tell his two neighbours left and right side. What is the maximum stolen value?
Make sure you do no cutting and are clear about the approach you'd be following.
Running median of input stream.