--- tags: AC LeetCode 刷題讀書會 - 2023 --- # 2023/05/14(日) 每週 LeetCode 刷題 ## 刷題題號 - [01. Two Sum](https://leetcode.com/problems/two-sum/) ## 解題思路 1. Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. <pre style='background-color:#ggg'> 提供指定數組與一個整數目標,回傳兩個數字相加等於目標的陣列位置。 </pre> ## 回報格式 - 請 Fork 此 Replit 連結(https://replit.com/@AllenLi23/AC-LeetCode-Js-1-Two-Sum)後,進行程式碼解題,並於完成後更新到 Replit 中,再將連結貼至「解題分享區」來與大家交流做法。 解題分享區 --- 2023/05/14 讀書會議流程: ex. 21:05開始 #簽到表: https://docs.google.com/spreadsheets/d/1gc16rrF-yZNs845z_nYrdgDIiSECOJok30dNLyQm69A/edit#gid=0 1. 題目說明。 2. 題目解析(BigO(n))。 4. 成員分享解題思路。 5. 問題與討論。 <!-- No.0 (請依序排序下去) name: name (回報範例) lighthouse: lighthouse Replit:https://replit.com/@AllenLi23/AC-LeetCode-Js-1-Two-Sum-Allen --> <!-- No.1 name: Jack Hung lighthouse: lhhungx@gmail.com Replit:https://replit.com/@LungHsuanHung/AC-LeetCode-Go-1-Two-Sum#main.go --> <!-- No.2 name: vanessa lighthouse: mali7591@hotmail.com Replit:https://replit.com/@vanessalin3/AC-LeetCode-Js-1-Two-Sum#index.js --> <!-- No.3 name: Henry lighthouse: henrychen.chc@gmail.com Replit:https://replit.com/@Chi-HengChen/AC-LeetCode-Js-1-Two-Sum#index.js --> <!-- No.4 name: Ben lighthouse: a84012807@gmail.com Replit:https://replit.com/@a84012807/AC-LeetCode-Js-1-Two-Sum?s=app --> <!-- No.5 name: 永C lighthouse: yongsin0129@gmail.com Replit:https://replit.com/@yongsin0129/AC-LeetCode-Js-1-Two-Sum#index.js --> <!-- No.6 name: Kai lighthouse: pythonforeye@gmail.com Replit: https://replit.com/@Beginneraboutli/AC-LeetCode-Js-1-Two-Sum#index.js --> <!-- No.7 name: Elliot lighthouse: elliotcs30@gmail.com Replit: https://replit.com/@elliotchang3/AC-LeetCode-Js-1-Two-Sum#index.js --> <!-- No.8 name: Winnie lighthouse: yaysa903@gmail.com Replit: https://replit.com/@WinnieLin7/AC-LeetCode-Js-1-Two-Sum#index.js -->
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up