https://simonteo58.github.io/2022/06/23/leetcode/20.%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7/ package main /* * @lc app=leetcode.cn id=20 lang=golang * * [20] 有效的括号 */ // @lc code=start type ( Stack struct { top *node length int }
https://simonteo58.github.io/2022/06/23/leetcode/20.%E6%9C%89%E6%95%88%E7%9A%84%E6%8B%AC%E5%8F%B7/
package main /* * @lc app=leetcode.cn id=20 lang=golang * * [20] 有效的括号 */ // @lc code=start type ( Stack struct { top *node length int }