--- tags: AC LeetCode 刷題讀書會 - 2023 --- # 2023/04/23(日) 每週 LeetCode 刷題 ## 刷題題號 - [1929. Concatenation of Array](https://leetcode.com/problems/concatenation-of-array/) ## 解題思路 1. 給予一個整數陣列 nums 和長度為 n,你想新增一個長度為 2n 的陣列 ans。 其中 ans[i] == nums[i] and ans[i + n] == nums[i] for 0 <= i < n (0-indexed). 具體來說,ans 是兩次 nums 陣列的串聯,回傳 ans 的陣列。 ## 回報格式 - 請 Fork 此 Replit 連結(https://replit.com/@AllenLi23/AC-LeetCode-Js-1480-Running-Sum-of-1d-Array)後,進行程式碼解題,並於完成後更新到 Replit 中,再將連結貼至「解題分享區」來與大家交流做法。 解題分享區 --- 2023/04/23 讀書會議流程: ex. 09:05開始 #簽到表: https://docs.google.com/spreadsheets/d/1gc16rrF-yZNs845z_nYrdgDIiSECOJok30dNLyQm69A/edit#gid=0 1. 題目說明。 2. 題目解析(BigO(2n) => BigO(n))。 4. 成員分享解題思路。 5. 問題與討論。 <!-- No.0 (請依序排序下去) name: name (回報範例) lighthouse: lighthouse Replit:https://replit.com/@AllenLi23/AC-LeetCode-Js-1929-Concatenation-of-Array-Allen --> <!-- No.1 name: Jack Hung lighthouse: lhhungx@gmail.com Replit:https://replit.com/@LungHsuanHung/AC-LeetCode-Go-1929-Concatenation-of-Array#main.go --> <!-- No.2 name: 橘皮 OrangeP lighthouse: seanchen112@gmail.com Replit:https://replit.com/@chloewithcheese/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.3 name: Wei Kai lighthouse: pythonforeye@gmail.com Replit: https://replit.com/@Beginneraboutli/AC-LeetCode-Js-1929-Concatenation-of-Array --> <!-- No.4 name: Winnie lighthouse: yaysa903@gmail.com Replit: https://replit.com/@WinnieLin7/AC-LeetCode-Js-1929-Concatenation-of-Array --> <!-- No.5 name: TH K lighthouse: TH K Replit: https://replit.com/@thk61159/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.6 name: vanessa lighthouse: mali7591@hotmail.com Replit:https://replit.com/@vanessalin3/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.7 name: bun lighthouse: bun.coding@gmail.com Replit:https://replit.com/@Shu-YinChen/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.8 name: 日嶸 lighthouse: abc50113@yahoo.com.tw Replit:https://replit.com/@Robert83213/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.9 name: 柏毅 lighthouse: ggg1237890@gmail.com Replit:https://replit.com/@ggg1237890/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.10 name: Anna Chu lighthouse: annachu0988@gmail.com Replit:https://replit.com/@AnnaChu1/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.11 name: Henry lighthouse: henrychen.chc@gmail.com Replit:https://replit.com/@Chi-HengChen/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.12 name: BenWang lighthouse: a4012807@gmail.com Replit:https://replit.com/@a84012807/AC-LeetCode-Js-1929-Concatenation-of-Array?s=app --> <!-- No.13 name: 永C lighthouse: yongsin0129@gmail.com Replit:https://replit.com/@yongsin0129/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js --> <!-- No.14 name: En Replit:https://replit.com/@Ke-en/AC-LeetCode-Js-1929-Concatenation-of-Array#index.js -->