MCPcopy Index your code
hub / github.com/codingXiaxw/leetcode / main

Method main

algorithms/Java/validParentheses.java:13–17  ·  view source on GitHub ↗

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all valid but "(]" and "([)]" are not. 给定一个字符串,只包含字符“(',”),“{”,“}”,“,”和“,”,确定输入字符串是否有效。括号必须以正确的顺序关闭,“()”和“(”){“都是

(String[] args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.95

Tested by

no test coverage detected