Texas Instruments

  www.ti.com
  www.ti.com

Interview Question

Applications Engineer Interview(Student Candidate)

How would you write an efficient data structure that would

  represent a deck of cards.
Tags:
software design, programming
Answer

Interview Answer

2 Answers

0

An array

Anonymous on Jan 7, 2010
0

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

B on Feb 17, 2011

Add Answers or Comments

To comment on this Question, Sign In with Facebook or Sign Up