As a Front-end developer, you generally need to know some standard algorithms. Given the competitive nature of Amazon interviews, you do need to bring your A game. However, in some development roles in other companies, knowing data structures and algorithms is not a requirement and may not be tested in the interview.