摘要:
Given a balanced parentheses string S, compute the score of the string based on the following rule: Example 1: Input: "()" Output: 1 Example 2: Input: 阅读全文
posted @ 2018-06-24 14:40
Beserious
阅读(413)
评论(0)
推荐(0)
摘要:
Given two strings A and B of lowercase letters, return true if and only if we can swap two letters in A so that the result equals B. 题目大意:给出A,B两个字符串,问 阅读全文
posted @ 2018-06-24 11:23
Beserious
阅读(407)
评论(0)
推荐(0)
浙公网安备 33010602011771号