Skip to Content
The Complete Coding Interview Guide in Java
book

The Complete Coding Interview Guide in Java

by Anghel Leonard
August 2020
Intermediate to advanced content levelIntermediate to advanced
788 pages
15h
English
Packt Publishing
Content preview from The Complete Coding Interview Guide in Java

Chapter 12: Stacks and Queues

This chapter covers the most popular interview coding challenges involving stacks and queues. Mainly, you will learn how to provide a stack/queue implementation from scratch and how to tackle coding challenges via Java's built-in implementations, such as the Stack class, and the Queue interface implementations, especially ArrayDeque. Commonly, a coding challenge from this category will ask you to build a stack/queue or will ask you to solve a certain problem using Java's built-in implementations. Depending on the problem, it may explicitly disallow you to call certain built-in methods that will lead you to finding an easy solution.

By the end of this chapter, you'll have a deep insight into stacks and queues, you'll ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Complete Java Developer Course: From Beginner to Master

The Complete Java Developer Course: From Beginner to Master

Codestars By Rob Percival, John P. Baugh
Java Coding Problems

Java Coding Problems

Anghel Leonard
Clean Code Fundamentals

Clean Code Fundamentals

Robert C. Martin

Publisher Resources

ISBN: 9781839212062Supplemental Content