Data Structures & Algorithms in Java: Working with Queues
Java
| Intermediate
- 15 videos | 1h 48m 55s
- Includes Assessment
- Earns a Badge
In this course, you'll explore a popular data structure, the queue. Queues offer first in, first out access. All additions to the queue are done at one end, which is the rear of the queue, and removals from the queue are done from the front of the queue. You'll learn how to implement a queue using arrays and linked lists and you'll also examine a related data structure, the deque - basically the queue with additional operations. Next, you'll learn about implementations of the stack and queue, which are part of the standard Java library. Finally, you'll see how you can work with the priority queue, which allows you to access elements in the order of priority.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseRecall the basic characteristics of a queuePerform simple operations using is full, is empty, and size on a queue implemented using arraysEnqueue elements in a queue implemented using arraysDequeue elements in a queue implemented using arraysRecall why enqueue is an o(n) operation in a queue implemented using arraysEnqueue elements in a queue implemented as a circular queueDequeue elements in a queue implemented as a circular queue
-
Enqueue elements in a queue implemented using linked listsDequeue elements and peek into a queue implemented using linked listsImplement a double-ended queueBuild a queue using two stacksUse the built-in classes in java for queues and stacksUse the priority queue and specify priorities using a comparatorSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 59s
-
7m 49sAfter completing this video, you will be able to recall the basic characteristics of a queue. FREE ACCESS
-
6m 2sLearn how to perform simple operations using "Is Full," "Is Empty," and "Size" on a queue implemented using arrays. FREE ACCESS
-
7m 53sFind out how to add elements to a queue implemented using arrays. FREE ACCESS
-
7m 7sIn this video, you will learn how to remove elements from a queue implemented using arrays. FREE ACCESS
-
7m 38sAfter completing this video, you will be able to recall why enqueue is an O(1) operation in a queue implemented using arrays. FREE ACCESS
-
8m 35sFind out how to add elements to a queue implemented as a circular queue. FREE ACCESS
-
8m 6sIn this video, find out how to remove elements from a queue implemented as a circular queue. FREE ACCESS
-
7m 34sIn this video, you will add elements to a queue implemented using linked lists. FREE ACCESS
-
6m 5sDuring this video, you will learn how to remove elements and peek into a queue implemented using linked lists. FREE ACCESS
-
10m 20sFind out how to implement a double-ended queue. FREE ACCESS
-
11m 28sIn this video, you will learn how to build a queue using two stacks. FREE ACCESS
-
5m 52sFind out how to use the built-in queues and stacks in Java. FREE ACCESS
-
10m 47sIn this video, you will learn how to use the priority queue and how to specify priorities using a comparator. FREE ACCESS
-
1m 39s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.