Meta Interview Question

word ladder question on lc