Microsoft Interview Question

Trees , strings , sorting