This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 785
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add zh-tw palindrome translate
- Loading branch information
Showing
7 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 演算法名稱 | ||
|
||
寫一個簡短的算法描述,例如: | ||
1. 時間複雜度 | ||
2. 空間複雜度 | ||
3. 應用領域 | ||
4. 創辦人姓名 | ||
5. 等等... | ||
|
||
## 步驟 | ||
用清晰,簡單和可理解的步驟描述算法。 | ||
|
||
## 例子 | ||
使用樣本輸入數據跟踪算法。 | ||
|
||
## 程式碼 | ||
鏈接到已編寫的代碼。 | ||
注意: 該鏈接應僅在algorithm文件夾內. | ||
|
||
## 影片網址 | ||
附加說明該算法的視頻網址。 | ||
|
||
## 其他 | ||
任何其他信息始終受到歡迎,應包含在本節中。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 演算法 | ||
## 字符串 | ||
- [回文](./Strings/Palindrome.md) | ||
|
||
## 其他 | ||
[如何添加新的算法文檔?](./CONTRIBUTING.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 回文 | ||
回文,亦称回环,是正读反读都能读通的句子,亦有将文字排列成圆圈者,是一種修辭方式和文字游戏。回環運用得當,可以表現兩種事物或現象相互依靠或排斥的關係。 | ||
|
||
## 步驟 | ||
1. 清潔字符串,通過刪除所有標點符號和空格並將所有字母轉換為小寫字母。 | ||
2. 反轉乾淨的字符串。 | ||
3. 如果乾淨的字符串與反向字符串相同,則這個字符串是回文。 | ||
|
||
## 例子 | ||
### 單字回文 | ||
- 媽媽。 | ||
- 爸爸。 | ||
- 上海自來水來自海上。 | ||
|
||
### 多詞回文 | ||
- 改變的環境影響人類的活動,活動的人類影響環境的改變。 | ||
- 自我突破,突破自我。 | ||
- 好像对我说,说我对象好。 | ||
- 人人为我、我为人人。 | ||
|
||
## 程式碼 | ||
- [C](../../../algorithms/C/strings/palindrome.c) | ||
- [C#](../../../algorithms/CSharp/src/Strings/palindrome.cs) | ||
- [Haskell](../../../algorithms/Haskell/strings/palindrome.hs) | ||
- [Java](../../../algorithms/Java/strings/palindrome.java) | ||
- [JavaScript](../../../algorithms/JavaScript/src/strings/palindrome.js) | ||
- [Python](../../../algorithms/Python/strings/palindrome.py) | ||
- [Rust](../../../algorithms/Rust/strings/palindrome/src/main.rs) | ||
|
||
## 影片網址 | ||
[回文講解](https://www.bilibili.com/video/av4829276/) | ||
|
||
## 其他 | ||
[维基百科](https://zh.wikipedia.org/wiki/%E5%9B%9E%E6%96%87) |
5daa940
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit is related the issue #289