Google interview question

string, sorting, binary tree, graph