Educative (WA) Interview Question

String manipulation, Binary trees, Linked lists.