Meta interview question

1) Valid Number 2) Simplify path Both leetcode problems