摘要:
1.小美的排列询问 https://www.nowcoder.com/practice/2a9dd3471bf1475aab0117a58d9d45d4 #include <iostream> using namespace std; int main() { int len; cin >> len 阅读全文
摘要:
60.括号生成 import java.util.*; public class Solution { ArrayList<String> res = new ArrayList<>(); public ArrayList<String> generateParenthesis (int n) { 阅读全文
摘要:
20数组中的逆序对 代码 public class Solution { int count = 0; public int InversePairs(int [] array) { if(array.length < 2) return 0; int[] result = new int[arra 阅读全文