Linux | CS201: Data Structures and Algorithms

Introduction
For your second programming assignment, you are to implement a sorting algorithm using a stack and two queues. Your program will check both real and decimal numbers as well as strings.
I/O
Your executable must be named sqsort. The executable reads in a series of only string, decimal, or real numbers, either from
a file or from stdin, and will produce, on stdout, the list of numbers as they are processed Here is an example invocation:
$ echo “2 4 5 3 1″” > items