Chapter 9

Working with Data Structures: Garbage In Means Garbage Out

IN THIS CHAPTER

Bullet Learning the basics of data structures from lists to queues

Bullet Understanding how to answer questions about data structures

Bullet Finding other resources about data structures

You’ve likely used data structures in your job and/or you studied them in your computer science courses in school. Questions about data structures in interviews are as common as data structures themselves. Interviewers will want to know if you understand which data structures are used in particular situations so they know you’re an efficient programmer.

If you need a data structures refresher, then you’ve come to the right chapter. We start by explaining the basics of data structures from lists and arrays to hashes, stacks, and queues.

Once you’ve soaked in everything about data structures, you learn what interviewers will ask you about them so you can show that your knowledge about data structures is, well, structured.

Finally, you learn how to get more in-depth information if you’re still not feeling confident that you can answer interviewers’ data structures questions correctly. These tips not only include refreshing your memory ...

Get Programming Interviews For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.