Sum numbers formed by root-to-leaf paths | Meta Interview Question