摘要:
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: 阅读全文
摘要:
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两个字符串,问 阅读全文