Mission 6: "The Data Burst Buffer" 📡
The data burst is incoming. You must add the data packets to the processing queue in the order they arrive.
00:00
Mission Objective
Given a `queue` and a data packet with a `value` of 101, enqueue it.
Step 1 / 2
1. The Story: The Mission Briefing
"You're receiving a high-speed data burst from a probe deep within the Labyrinth. Your system can't process it all at once, and the data packets must be analyzed in the order they were discovered. You must implement a buffer."
2. The Problem
How do you process a stream of incoming items in the order of their arrival without losing data?
3. The Task
You will implement a Queue. You will enqueue the incoming data packets as they arrive and dequeue them one by one for processing, creating a fair, orderly, and reliable system.
4. Concepts Applied
Practical use of a Queue for buffering, task scheduling, and managing ordered data streams.