Amazon Interview Experience for Fresher SDE - 1, Sep 2019
Online Coding Interview
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?
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.