[minor update]update solution for Simplify Path