Array: insertion sort
Graph: alien language -- topological sort