amazon intern 三面# JobHunting - 待字闺中
E*n
1 楼
1.Design a card game
should have a card class, deck class, hand class.
What should be within Deck? 我说了an arraylist of cards (52张牌)
Where should the cards be created (in deck or hand)? Removed (in deck or
hand)? 我说了created in deck,removed in hand。
2。coding for shuffle念给他听,我用经典的随机数+换牌,career cup上的算法
3. Linked list v.s. arraylist
4. Disadvantage of hashtable
5. Pass by reference v.s. Pass by value
Java use which one? Primitive: pass by value; objects, pass by referenece
6. GET v.s. POST
amount of data GET can pass
amount of data POST can pass
还在等消息中
should have a card class, deck class, hand class.
What should be within Deck? 我说了an arraylist of cards (52张牌)
Where should the cards be created (in deck or hand)? Removed (in deck or
hand)? 我说了created in deck,removed in hand。
2。coding for shuffle念给他听,我用经典的随机数+换牌,career cup上的算法
3. Linked list v.s. arraylist
4. Disadvantage of hashtable
5. Pass by reference v.s. Pass by value
Java use which one? Primitive: pass by value; objects, pass by referenece
6. GET v.s. POST
amount of data GET can pass
amount of data POST can pass
还在等消息中