nicolezhu / railroad-sorting

C++ implementation of a sorting algorithm for rearranging railroad cars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rearranges railroad cars from an input track to an output track in ascending order, using holding tracks that act in a LIFO manner.

Example: input track [581742963] —> output track [987654321]

About

C++ implementation of a sorting algorithm for rearranging railroad cars


Languages

Language:C++ 91.5%Language:C 8.5%