329. Longest Increasing Path in a Matrix (Hard)