LeetCode 3486. Longest Special Path II March 18, 2025 biweekly contest 152。 從頭開始寫的話很難,但是拿原題修改下倒還可以接受,只是取變數還是很繞口。