CTCI 4.9 find sum path