Problem directory Data Structures List List data structure implementation Last item in a list Penultimate item in a list Length of a list Kth element in a list Reverse a list Check for palindrome Flatten a nested list Compress a list by removing consecutive repetitions Sublist of a list by consecutive repetitions Run length encoding Dynamic Array implementation Immutable Stack implementation Immutable Queue implementations using vector using list Sorting Merge Sort Quick Sort Heap Sort Insertion Sort