mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 14:18:20 +08:00 
			
		
		
		
	Fix the bst python code.
Fitune the chapters name.
This commit is contained in:
		@ -119,7 +119,7 @@ class BinarySearchTree:
 | 
				
			|||||||
                    pre.right = child
 | 
					                    pre.right = child
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                # 若删除节点为根节点,则重新指定根节点
 | 
					                # 若删除节点为根节点,则重新指定根节点
 | 
				
			||||||
                self.__root = cur
 | 
					                self.__root = child
 | 
				
			||||||
        # 子节点数量 = 2
 | 
					        # 子节点数量 = 2
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            # 获取中序遍历中 cur 的下一个节点
 | 
					            # 获取中序遍历中 cur 的下一个节点
 | 
				
			||||||
 | 
				
			|||||||
@ -134,13 +134,13 @@ nav:
 | 
				
			|||||||
    - 1.1.   算法无处不在: chapter_introduction/algorithms_are_everywhere.md
 | 
					    - 1.1.   算法无处不在: chapter_introduction/algorithms_are_everywhere.md
 | 
				
			||||||
    - 1.2.   算法是什么: chapter_introduction/what_is_dsa.md
 | 
					    - 1.2.   算法是什么: chapter_introduction/what_is_dsa.md
 | 
				
			||||||
    - 1.3.   小结: chapter_introduction/summary.md
 | 
					    - 1.3.   小结: chapter_introduction/summary.md
 | 
				
			||||||
  - 2.     复杂度分析:
 | 
					  - 2.     复杂度:
 | 
				
			||||||
    - chapter_computational_complexity/index.md
 | 
					    - chapter_computational_complexity/index.md
 | 
				
			||||||
    - 2.1.   算法效率评估: chapter_computational_complexity/performance_evaluation.md
 | 
					    - 2.1.   算法效率评估: chapter_computational_complexity/performance_evaluation.md
 | 
				
			||||||
    - 2.2.   时间复杂度: chapter_computational_complexity/time_complexity.md
 | 
					    - 2.2.   时间复杂度: chapter_computational_complexity/time_complexity.md
 | 
				
			||||||
    - 2.3.   空间复杂度: chapter_computational_complexity/space_complexity.md
 | 
					    - 2.3.   空间复杂度: chapter_computational_complexity/space_complexity.md
 | 
				
			||||||
    - 2.4.   小结: chapter_computational_complexity/summary.md
 | 
					    - 2.4.   小结: chapter_computational_complexity/summary.md
 | 
				
			||||||
  - 3.     数据结构简介:
 | 
					  - 3.     数据结构:
 | 
				
			||||||
    - chapter_data_structure/index.md
 | 
					    - chapter_data_structure/index.md
 | 
				
			||||||
    - 3.1.   数据结构分类: chapter_data_structure/classification_of_data_structure.md
 | 
					    - 3.1.   数据结构分类: chapter_data_structure/classification_of_data_structure.md
 | 
				
			||||||
    - 3.2.   基本数据类型: chapter_data_structure/basic_data_types.md
 | 
					    - 3.2.   基本数据类型: chapter_data_structure/basic_data_types.md
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user