Mission 2: "Bringing Order to Chaos" 📦
00:00
Mission Objective
Implement one pass of the Selection Sort algorithm for the first element.
Step 1 / 1
1. The Story: The Mission Briefing
"The cargo manifest for the flagship is completely out of order. Before we can load, you must sort the containers by their ID numbers."
2. The Problem
How do you sort a jumbled array?
3. The Task
You will implement a simple sorting algorithm like Selection Sort. The mission's UI will visually show you scanning the unsorted section for the smallest item and moving it into the sorted section.
4. Concepts Applied
Basic Sorting Algorithms.
5. Performance Debrief
The system will give you an "Efficiency Rating: O(n2)". It will warn you: "Protocol accepted for non-critical tasks. Warning: this method is too slow for large-scale or time-sensitive operations."