Data Structures - Building a Priority Queue

preview_player
Показать описание

Previously we looked at building a Queue, as well as what a Priority Queues (allow the ability for some elements to skip ahead based upon their priority/importance).
In this video we will look at how to build a priority queue using a linked list.

Table of Contents:

00:00 - Introduction
00:40 - Tracking the Priority
01:02 - The Constructors
01:52 - Adding the getPriority method
02:19 - The Priority Queue Class
02:51 - The enqueue method
03:20 - The overloaded enqueue method
Рекомендации по теме