面试的题目基本都在glassdoor上可以找到,看一下那上边最近半年的amazon的题目我
觉得就足够了,都挺简单的。 下面是一些我还记得的technical的题目:
1. OOD for a deck of 52 cards, need to implement shuffling and getting next
card; OOD for a casino, it has multiple tables and each table has a deck of
cards
2. check if a binary tree is symmetric
<