Add figures to replace_linear_by_hashing.md

This commit is contained in:
krahets
2023-05-09 00:36:18 +08:00
parent 53ca2144e2
commit fe69f7240d
23 changed files with 85 additions and 80 deletions
@@ -1,5 +1,5 @@
/**
* File: leetcode_two_sum.swift
* File: two_sum.swift
* Created Time: 2023-01-03
* Author: nuomi1 (nuomi1@qq.com)
*/
@@ -37,7 +37,7 @@ enum LeetcodeTwoSum {
static func main() {
// ======= Test Case =======
let nums = [2, 7, 11, 15]
let target = 9
let target = 13
// ====== Driver Code ======
//
var res = twoSumBruteForce(nums: nums, target: target)