Pergunta de entrevista da empresa Texas Instruments

How would you write an efficient data structure that would represent a deck of cards.

Respostas da entrevista

Sigiloso

17 de fev. de 2011

Use a CardLayout. In Java, this would be cardLayout.add(someCard); (with the appropriate initial set up).

Sigiloso

7 de jan. de 2010

An array