Oracle interview question

spiral matrix, tree level avg, graph based.