---
# System prepended metadata

title: 2023/04/09(日) 每週 LeetCode 刷題
tags: [AC LeetCode 刷題讀書會 - 2023]

---

---
tags: AC LeetCode 刷題讀書會 - 2023
---

#  2023/04/09(日) 每週 LeetCode 刷題

## 刷題題號
-  [242. Valid Anagram](https://leetcode.com/problems/valid-anagram/)

## 解題思路
1. 給予兩個字串分別為 s 和 t，如果 t 是 s 的重組字，則回傳 true，否則回傳 false。
一個重組字是透過重新排列得到不同的單字或片語，通常只使用所有原始字母一次。

## 回報格式

- 請 Fork 此 Replit 連結(https://replit.com/@AllenLi23/AC-LeetCode-Js-242-Valid-Anagram)後，進行程式碼解題，並於完成後更新到 Replit 中，再將連結貼至「解題分享區」來與大家交流做法。


解題分享區
---
2023/04/09 讀書會議流程：

#簽到表：
https://docs.google.com/spreadsheets/d/1gc16rrF-yZNs845z_nYrdgDIiSECOJok30dNLyQm69A/edit#gid=0

1. 題目說明。
2. 題目解析(BigO(2n))。
4. 成員分享解題思路。
5. 問題與討論。


HashTable Mind Map
---
![](https://i.imgur.com/ZpGrPPW.png)



<!-- No.0 (請依序排序下去)
name: name (回報範例)
lighthouse: lighthouse
Replit：https://replit.com/@AllenLi23/AC-LeetCode-Js-242-Valid-Anagram-Allen
-->

<!-- No.1 
name: Ruby
lighthouse: op0408io1998@gmail.com
Replit：https://replit.com/@op0408io1998/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.2
name: vanessa
lighthouse: mali7591@hotmail.com
Replit：https://replit.com/@vanessalin3/AC-LeetCode-Js-242-Valid-Anagram#index.js
-->

<!-- No.3
name: Jack Hung
lighthouse: lhhungx@gmail.com
Replit：https://replit.com/@LungHsuanHung/AC-LeetCode-Go-242-Valid-Anagram#main.go
-->

<!-- No.4
name: Anna Chu
lighthouse: annachu0988@gmail.com
Replit：https://replit.com/@AnnaChu1/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.5
name: 永C
lighthouse: yongsin0129@gmail.com
Replit：https://replit.com/@yongsin0129/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.6
name: Wei Kai
lighthouse: pythonforeye@gmail.com
Replit：https://replit.com/@Beginneraboutli/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.7
name: Orange P
lighthouse: seanchen112@gmail.com
Replit：https://replit.com/@chloewithcheese/AC-LeetCode-Js-242-Valid-Anagram
--> 

<!-- No.8
name: 柏毅
lighthouse: ggg1237890@gmail.com
Replit：https://replit.com/@ggg1237890/AC-LeetCode-Js-242-Valid-Anagram#index.js
-->

<!-- No.9
name: 日嶸
lighthouse: abc50113@yahoo.com.tw
Replit：https://replit.com/@Robert83213/AC-LeetCode-Js-242-Valid-Anagram#index.js
-->

<!-- No.10
name: TH
lighthouse: a31735@gmail.com
Replit：https://replit.com/@thk61159/AC-LeetCode-Js-242-Valid-Anagram#index.js
-->

<!-- No.11 
name: Ku Small
lighthouse: huang.paladin@gmail.com
Replit：https://replit.com/@Kusmall/AC-LeetCode-Js-242-Valid-Anagram?#index.js
-->

<!-- No.12
 name: Howard
lighthouse: asakura4@gmail.com
Replit: https://replit.com/@asakura4/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.13
name: BenWang
lighthouse: a84012807@gmail.com
Replit：https://replit.com/@a84012807/AC-LeetCode-Js-242-Valid-Anagram?s=app
-->

<!-- No.14
name: Winnie
lighthouse: yaysa903@gmail.com
Replit：https://replit.com/@WinnieLin7/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.15
name: Ruby Lo
lighthouse: rubylo718@gmail.com
Replit：https://replit.com/@rubylo718/AC-LeetCode-Js-242-Valid-Anagram
-->

<!-- No.16
name: Bun
lighthouse: 待填寫
Replit：https://replit.com/@Shu-YinChen/AC-LeetCode-Js-242-Valid-Anagram
-->