Priority Queue

Manage a JavaScript support queue with shift() and unshift(), recording the served customer before placing an urgent customer at the front.

JavaScript

Challenge overview

Format
Logic Puzzle
Category
JavaScript
Difficulty
Beginner
javascriptarraysshiftunshiftqueue

Keep practicing

More coding challenges