Linear Datastructures and Sorting Algos