Leetcode Find If Path Exists In Latex