This repository is dedicated to my journey in learning Go (Golang), with a primary focus on fundamental data structures and basic algorithms. It serves as a collection of my learning notes and practice examples.
本專案致力於我學習 Go (Golang) 的心路歷程,主要關注基礎資料結構和基本演算法。它作為我的學習筆記和練習範例的集合。
I have shifted my focus from Python to Go to deepen my understanding of systems programming and concurrency. This repository documents my progress in mastering Go's syntax, idioms, and standard library, specifically through the lens of implementing data structures.
我已將重心從 Python 轉移到 Go,以加深對系統程式設計和並發的理解。本專案記錄了我透過實作資料結構來掌握 Go 的語法、慣用語和標準庫的進度。
- Channel: Understanding Go's concurrency primitives.
- Channel: 理解 Go 的併發。
- Dynamic Array: Implementation of resizable arrays (Slices).
- Dynamic Array: 可變大小陣列 (Slices) 的實作。
- Exception Handling: Error handling patterns in Go (Error interface, panic/recover).
- Exception Handling: Go 中的錯誤處理模式 (Error 介面, panic/recover)。
- Hash Map: Implementation and usage of maps.
- Hash Map: Map 的實作與使用。
- Tree Node: Binary Tree implementations and traversals.
- Tree Node: 二元樹的實作與遍歷。
-
Clone the repository / 複製倉庫:
git clone git@github.com:firehourse/python_notes.git
-
Navigate to the appropriate folder / 導航至相應資料夾: Explore different topics by navigating into their respective directories. 透過導航進入各自的目錄來探索不同的主題。
-
Run the code / 執行程式碼: Most examples can be run using the
go runcommand: 大多數範例可以使用go run指令執行:go run main.go
Contributions are welcome! If you have any suggestions, improvements, or additional topics to include, please feel free to open an issue or submit a pull request.
歡迎貢獻!如果您有任何建議、改進或想加入的其他主題,請隨時開啟 issue 或提交 pull request。
This project is licensed under the MIT License.
本專案採用 MIT 授權。