2022-11-04 19:09:51 +08:00
|
|
|
|
# Project information
|
2022-11-08 02:58:42 +08:00
|
|
|
|
site_name: Hello 算法
|
2022-11-25 02:04:38 +08:00
|
|
|
|
site_url: https://www.hello-algo.com/
|
2022-11-04 19:09:51 +08:00
|
|
|
|
site_author: Krahets
|
|
|
|
|
site_description: Your first book to learn Data Structure And Algorithm.
|
|
|
|
|
# Repository
|
2022-11-08 02:58:42 +08:00
|
|
|
|
repo_name: krahets/hello-algo
|
|
|
|
|
repo_url: https://github.com/krahets/hello-algo
|
2022-11-22 18:28:30 +08:00
|
|
|
|
edit_uri: https://github.com/krahets/hello-algo/tree/master/docs/
|
2022-11-04 19:09:51 +08:00
|
|
|
|
|
|
|
|
|
# Copyright
|
|
|
|
|
copyright: Copyright © 2020 - 2022 Krahets
|
|
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
theme:
|
|
|
|
|
name: material
|
2022-11-22 17:47:26 +08:00
|
|
|
|
custom_dir: docs/overrides
|
2022-11-22 04:17:46 +08:00
|
|
|
|
language: zh
|
2022-11-04 19:09:51 +08:00
|
|
|
|
features:
|
|
|
|
|
- announce.dismiss
|
|
|
|
|
- content.code.annotate
|
2022-11-15 04:55:19 +08:00
|
|
|
|
- content.tabs.link
|
2022-11-04 19:09:51 +08:00
|
|
|
|
- content.tooltips
|
|
|
|
|
# - header.autohide
|
2022-11-12 22:48:46 +08:00
|
|
|
|
# - navigation.expand
|
2022-11-04 19:09:51 +08:00
|
|
|
|
- navigation.indexes
|
|
|
|
|
# - navigation.instant
|
|
|
|
|
# - navigation.prune
|
2022-11-12 22:48:46 +08:00
|
|
|
|
# - navigation.sections
|
2022-11-04 19:09:51 +08:00
|
|
|
|
# - navigation.tabs
|
|
|
|
|
# - navigation.tabs.sticky
|
|
|
|
|
# - navigation.top
|
|
|
|
|
- navigation.tracking
|
|
|
|
|
- search.highlight
|
|
|
|
|
- search.share
|
|
|
|
|
- search.suggest
|
|
|
|
|
- toc.follow
|
|
|
|
|
# - toc.integrate
|
|
|
|
|
palette:
|
|
|
|
|
- scheme: default
|
|
|
|
|
primary: white
|
|
|
|
|
# accent: indigo
|
|
|
|
|
toggle:
|
|
|
|
|
icon: material/weather-sunny
|
|
|
|
|
name: Switch to dark mode
|
|
|
|
|
- scheme: slate
|
|
|
|
|
# primary: grey
|
|
|
|
|
# accent: indigo
|
|
|
|
|
toggle:
|
|
|
|
|
icon: material/weather-night
|
|
|
|
|
name: Switch to light mode
|
|
|
|
|
font:
|
|
|
|
|
text: Roboto
|
|
|
|
|
code: Roboto Mono
|
|
|
|
|
favicon: assets/images/favicon.png
|
2022-11-17 02:48:17 +08:00
|
|
|
|
logo: assets/images/logo.png
|
2022-11-22 04:17:46 +08:00
|
|
|
|
icon:
|
|
|
|
|
logo: logo
|
|
|
|
|
repo: fontawesome/brands/github
|
2022-11-04 19:09:51 +08:00
|
|
|
|
|
|
|
|
|
extra:
|
|
|
|
|
social:
|
|
|
|
|
- icon: fontawesome/brands/github
|
|
|
|
|
link: https://github.com/krahets
|
|
|
|
|
- icon: fontawesome/brands/twitter
|
|
|
|
|
link: https://twitter.com/krahets
|
2022-11-22 04:17:46 +08:00
|
|
|
|
- icon: fontawesome/solid/code
|
|
|
|
|
link: https://leetcode.cn/u/jyd/
|
2022-11-25 13:01:14 +08:00
|
|
|
|
generator: false
|
2022-11-04 19:09:51 +08:00
|
|
|
|
|
|
|
|
|
# Plugins
|
|
|
|
|
plugins:
|
|
|
|
|
- search
|
|
|
|
|
|
|
|
|
|
# Extensions
|
|
|
|
|
markdown_extensions:
|
|
|
|
|
- abbr
|
|
|
|
|
- admonition
|
|
|
|
|
- attr_list
|
|
|
|
|
- def_list
|
|
|
|
|
- footnotes
|
|
|
|
|
- md_in_html
|
|
|
|
|
- toc:
|
|
|
|
|
permalink: true
|
|
|
|
|
- pymdownx.arithmatex:
|
|
|
|
|
generic: true
|
|
|
|
|
- pymdownx.betterem:
|
|
|
|
|
smart_enable: all
|
|
|
|
|
- pymdownx.caret
|
|
|
|
|
- pymdownx.details
|
|
|
|
|
# - pymdownx.emoji:
|
|
|
|
|
# emoji_index: !!python/name:materialx.emoji.twemoji
|
2022-11-24 01:12:14 +08:00
|
|
|
|
# emoji_generator: !!python/name:materialx.emoji.to_svg
|
2022-11-04 19:09:51 +08:00
|
|
|
|
- pymdownx.highlight:
|
|
|
|
|
anchor_linenums: true
|
|
|
|
|
- pymdownx.inlinehilite
|
|
|
|
|
- pymdownx.snippets
|
|
|
|
|
- pymdownx.superfences
|
|
|
|
|
- pymdownx.keys
|
|
|
|
|
# - pymdownx.magiclink:
|
|
|
|
|
# repo_url_shorthand: true
|
|
|
|
|
# user: squidfunk
|
|
|
|
|
# repo: mkdocs-material
|
|
|
|
|
- pymdownx.mark
|
|
|
|
|
- pymdownx.smartsymbols
|
|
|
|
|
- pymdownx.tabbed:
|
|
|
|
|
alternate_style: true
|
|
|
|
|
- pymdownx.tasklist:
|
|
|
|
|
custom_checkbox: true
|
|
|
|
|
- pymdownx.tilde
|
|
|
|
|
|
|
|
|
|
extra_javascript:
|
|
|
|
|
- javascripts/mathjax.js
|
|
|
|
|
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
|
|
|
|
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
|
|
|
|
extra_css:
|
|
|
|
|
- stylesheets/extra.css
|
|
|
|
|
|
|
|
|
|
# Page tree
|
|
|
|
|
nav:
|
2022-12-11 03:58:46 +08:00
|
|
|
|
- 前言:
|
|
|
|
|
- 关于本书: chapter_preface/about_the_book.md
|
2022-11-25 02:04:38 +08:00
|
|
|
|
- 如何使用本书: chapter_preface/suggestions.md
|
|
|
|
|
- 编程环境安装: chapter_preface/installation.md
|
|
|
|
|
- 一起参与创作: chapter_preface/contribution.md
|
2022-11-20 02:03:26 +08:00
|
|
|
|
- 算法是什么:
|
2022-11-25 02:04:38 +08:00
|
|
|
|
- chapter_introduction/index.md
|
2022-11-04 19:09:51 +08:00
|
|
|
|
- 计算复杂度:
|
|
|
|
|
- 算法效率评估: chapter_computational_complexity/performance_evaluation.md
|
|
|
|
|
- 时间复杂度: chapter_computational_complexity/time_complexity.md
|
|
|
|
|
- 空间复杂度: chapter_computational_complexity/space_complexity.md
|
2022-11-21 04:09:37 +08:00
|
|
|
|
- 权衡时间与空间: chapter_computational_complexity/space_time_tradeoff.md
|
2022-11-04 19:09:51 +08:00
|
|
|
|
- 小结: chapter_computational_complexity/summary.md
|
|
|
|
|
- 数据结构简介:
|
2022-11-08 02:58:42 +08:00
|
|
|
|
- 数据与内存: chapter_data_structure/data_and_memory.md
|
2022-11-04 19:09:51 +08:00
|
|
|
|
- 数据结构分类: chapter_data_structure/classification_of_data_strcuture.md
|
|
|
|
|
- 小结: chapter_data_structure/summary.md
|
|
|
|
|
- 数组与链表:
|
2022-11-17 02:48:17 +08:00
|
|
|
|
- 数组(Array): chapter_array_and_linkedlist/array.md
|
|
|
|
|
- 链表(LinkedList): chapter_array_and_linkedlist/linked_list.md
|
2022-11-21 04:09:37 +08:00
|
|
|
|
- 列表(List): chapter_array_and_linkedlist/list.md
|
2022-11-08 02:58:42 +08:00
|
|
|
|
- 小结: chapter_array_and_linkedlist/summary.md
|
2022-11-10 03:40:57 +08:00
|
|
|
|
- 栈与队列:
|
2022-11-17 02:48:17 +08:00
|
|
|
|
- 栈(Stack): chapter_stack_and_queue/stack.md
|
|
|
|
|
- 队列(Queue): chapter_stack_and_queue/queue.md
|
|
|
|
|
- 双向队列(Deque): chapter_stack_and_queue/deque.md
|
2022-11-10 03:40:57 +08:00
|
|
|
|
- 小结: chapter_stack_and_queue/summary.md
|
2022-12-05 02:37:16 +08:00
|
|
|
|
- 散列表:
|
|
|
|
|
- 哈希表(HashMap): chapter_hashing/hash_map.md
|
|
|
|
|
- 哈希冲突处理: chapter_hashing/hash_collision.md
|
|
|
|
|
- 小结: chapter_hashing/summary.md
|
2022-11-17 02:48:17 +08:00
|
|
|
|
- 二叉树:
|
|
|
|
|
- 二叉树(Binary Tree): chapter_tree/binary_tree.md
|
|
|
|
|
- 二叉树常见类型: chapter_tree/binary_tree_types.md
|
2022-11-12 22:48:46 +08:00
|
|
|
|
- 二叉搜索树: chapter_tree/binary_search_tree.md
|
2022-12-11 02:44:48 +08:00
|
|
|
|
- AVL 树 *: chapter_tree/avl_tree.md
|
2022-11-12 22:48:46 +08:00
|
|
|
|
- 小结: chapter_tree/summary.md
|
2022-11-17 02:48:17 +08:00
|
|
|
|
- 查找算法:
|
|
|
|
|
- 线性查找: chapter_searching/linear_search.md
|
|
|
|
|
- 二分查找: chapter_searching/binary_search.md
|
2022-11-20 02:03:26 +08:00
|
|
|
|
- 哈希查找: chapter_searching/hashing_search.md
|
2022-11-17 02:48:17 +08:00
|
|
|
|
- 小结: chapter_searching/summary.md
|
2022-11-22 04:17:46 +08:00
|
|
|
|
- 排序算法:
|
2022-12-11 03:06:22 +08:00
|
|
|
|
- 排序简介: chapter_sorting/intro_to_sort.md
|
2022-11-22 04:17:46 +08:00
|
|
|
|
- 冒泡排序: chapter_sorting/bubble_sort.md
|
|
|
|
|
- 插入排序: chapter_sorting/insertion_sort.md
|
|
|
|
|
- 快速排序: chapter_sorting/quick_sort.md
|
2022-11-23 03:56:25 +08:00
|
|
|
|
- 归并排序: chapter_sorting/merge_sort.md
|
2022-11-24 01:12:14 +08:00
|
|
|
|
- 小结: chapter_sorting/summary.md
|
2022-11-17 02:48:17 +08:00
|
|
|
|
- 参考文献:
|
2022-11-22 04:17:46 +08:00
|
|
|
|
- chapter_reference/index.md
|