20. Valid Parentheses

利用FILO的STACK 一切都是那么美好

class Solution {
    public boolean isValid(String s) {
        Stack stack = new Stack<>();
        for(int i = 0 ;i

你可能感兴趣的:(20. Valid Parentheses)