Meta interview question

2D array manipulation, string manipulation, graph