Oracle Interview Question

spiral matrix, tree level avg, graph based.