Texas Instruments Interview Question: How would you write an effici... | Glassdoor

Find your next job here

Interview Question

Applications Engineer Interview(Student Candidate)

How would you write an efficient data structure that would

  represent a deck of cards.
software design, programming

Interview Answer

2 Answers


An array

Anonymous on Jan 7, 2010

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, Sign In or Sign Up.