# sorting easy

First Come, First Served

Everyone wrote down their arrival minute — serve them in arrival order! ☕

You get the arrival minutes (all different) in the order people shouted them. Print them in serving order, comma-separated.

Example:

Input: minutes = [9, 2, 7, 4] Output: 2,4,7,9

Sorting the arrival minutes ascending gives the serving order — earliest minute first.

💡 need a hint?

sort-first-come-first-served.py🔒 given lines are locked — write your code in between
loading...