1. Add C++ codes for the chapter of

computational complexity, sorting, searching.
2. Corrected some mistakes.
3. Update README.
This commit is contained in:
Yudong Jin
2022-11-27 04:19:16 +08:00
parent f85ee36ce1
commit 431a0f6caf
37 changed files with 147 additions and 94 deletions

View File

@ -35,7 +35,7 @@ if __name__ == '__main__':
# ====== Driver Code ======
# 方法一
res = SolutionBruteForce().twoSum(nums, target);
print(res)
print("方法一 res =", res)
# 方法二
res = SolutionHashMap().twoSum(nums, target);
print(res)
print("方法二 res =", res)