Meta Interview Question

String data structure question