diff --git a/chapter_array_and_linkedlist/array.assets/array_definition.png b/chapter_array_and_linkedlist/array.assets/array_definition.png index ca996b71f..3703111c4 100644 Binary files a/chapter_array_and_linkedlist/array.assets/array_definition.png and b/chapter_array_and_linkedlist/array.assets/array_definition.png differ diff --git a/chapter_array_and_linkedlist/array.assets/array_insert_element.png b/chapter_array_and_linkedlist/array.assets/array_insert_element.png index e7887341e..05a9621a1 100644 Binary files a/chapter_array_and_linkedlist/array.assets/array_insert_element.png and b/chapter_array_and_linkedlist/array.assets/array_insert_element.png differ diff --git a/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png b/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png index 8143a9343..3f5fcde7d 100644 Binary files a/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png and b/chapter_array_and_linkedlist/array.assets/array_memory_location_calculation.png differ diff --git a/chapter_array_and_linkedlist/array.assets/array_remove_element.png b/chapter_array_and_linkedlist/array.assets/array_remove_element.png index 0fbadb533..4b79529e7 100644 Binary files a/chapter_array_and_linkedlist/array.assets/array_remove_element.png and b/chapter_array_and_linkedlist/array.assets/array_remove_element.png differ diff --git a/chapter_array_and_linkedlist/array/index.html b/chapter_array_and_linkedlist/array/index.html index 46541ac1b..fe7c19af6 100644 --- a/chapter_array_and_linkedlist/array/index.html +++ b/chapter_array_and_linkedlist/array/index.html @@ -3704,7 +3704,7 @@
array.cs
/* 初始化数组 */
-int[] arr = new int[5]; // { 0, 0, 0, 0, 0 }
+int[] arr = new int[5]; // [ 0, 0, 0, 0, 0 ]
 int[] nums = [1, 3, 2, 5, 4];
 
diff --git a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png index 7df8d1e96..b7c4a726c 100644 Binary files a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png and b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_common_types.png differ diff --git a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png index e31c982d6..da9deb32c 100644 Binary files a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png and b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_definition.png differ diff --git a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png index e515c1fbb..1f6d24dce 100644 Binary files a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png and b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_insert_node.png differ diff --git a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png index 25a9b458b..670db4a3f 100644 Binary files a/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png and b/chapter_array_and_linkedlist/linked_list.assets/linkedlist_remove_node.png differ diff --git a/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png b/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png index 0f2af92ee..85d772f7f 100644 Binary files a/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png and b/chapter_array_and_linkedlist/ram_and_cache.assets/computer_storage_devices.png differ diff --git a/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png b/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png index 354d2d4b6..e97efb87d 100644 Binary files a/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png and b/chapter_array_and_linkedlist/ram_and_cache.assets/storage_pyramid.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/backtrack_remove_return_or_not.png b/chapter_backtracking/backtracking_algorithm.assets/backtrack_remove_return_or_not.png index 24bc98593..e67db9538 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/backtrack_remove_return_or_not.png and b/chapter_backtracking/backtracking_algorithm.assets/backtrack_remove_return_or_not.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_constrained_paths.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_constrained_paths.png index 55401dda7..33f6b5984 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_constrained_paths.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_constrained_paths.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_nodes.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_nodes.png index 7858dae5e..5aa53b898 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_nodes.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_nodes.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step1.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step1.png index 2901b7989..54f8ae71d 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step1.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step1.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step10.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step10.png index 365157648..bc2c907c3 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step10.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step10.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step11.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step11.png index 38dae52dc..32d55a258 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step11.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step11.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step2.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step2.png index 9a6a6ab88..5487d8f31 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step2.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step2.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step3.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step3.png index b8be4a939..a09c3a22c 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step3.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step3.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step4.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step4.png index 1e691fa39..1c748d86b 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step4.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step4.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step5.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step5.png index f48c1d2c4..bbc4a66fd 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step5.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step5.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step6.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step6.png index 43b42106b..c2df100bd 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step6.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step6.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step7.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step7.png index 483651820..85ecd6b6c 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step7.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step7.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step8.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step8.png index f98f54a79..48e08cd4d 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step8.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step8.png differ diff --git a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step9.png b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step9.png index 084f208d6..792d0120b 100644 Binary files a/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step9.png and b/chapter_backtracking/backtracking_algorithm.assets/preorder_find_paths_step9.png differ diff --git a/chapter_backtracking/n_queens_problem.assets/n_queens_cols_diagonals.png b/chapter_backtracking/n_queens_problem.assets/n_queens_cols_diagonals.png index cd290ea08..2e2594325 100644 Binary files a/chapter_backtracking/n_queens_problem.assets/n_queens_cols_diagonals.png and b/chapter_backtracking/n_queens_problem.assets/n_queens_cols_diagonals.png differ diff --git a/chapter_backtracking/n_queens_problem.assets/n_queens_constraints.png b/chapter_backtracking/n_queens_problem.assets/n_queens_constraints.png index c0cfb06cf..58c1529a5 100644 Binary files a/chapter_backtracking/n_queens_problem.assets/n_queens_constraints.png and b/chapter_backtracking/n_queens_problem.assets/n_queens_constraints.png differ diff --git a/chapter_backtracking/n_queens_problem.assets/n_queens_placing.png b/chapter_backtracking/n_queens_problem.assets/n_queens_placing.png index 9aa5c7c41..318ee7fc8 100644 Binary files a/chapter_backtracking/n_queens_problem.assets/n_queens_placing.png and b/chapter_backtracking/n_queens_problem.assets/n_queens_placing.png differ diff --git a/chapter_backtracking/n_queens_problem.assets/solution_4_queens.png b/chapter_backtracking/n_queens_problem.assets/solution_4_queens.png index 9a6e03a29..4fb4ba987 100644 Binary files a/chapter_backtracking/n_queens_problem.assets/solution_4_queens.png and b/chapter_backtracking/n_queens_problem.assets/solution_4_queens.png differ diff --git a/chapter_backtracking/permutations_problem.assets/permutations_i.png b/chapter_backtracking/permutations_problem.assets/permutations_i.png index 3e0374e0a..20588b2e5 100644 Binary files a/chapter_backtracking/permutations_problem.assets/permutations_i.png and b/chapter_backtracking/permutations_problem.assets/permutations_i.png differ diff --git a/chapter_backtracking/permutations_problem.assets/permutations_i_pruning.png b/chapter_backtracking/permutations_problem.assets/permutations_i_pruning.png index e23b475e1..ae7eefde6 100644 Binary files a/chapter_backtracking/permutations_problem.assets/permutations_i_pruning.png and b/chapter_backtracking/permutations_problem.assets/permutations_i_pruning.png differ diff --git a/chapter_backtracking/permutations_problem.assets/permutations_ii.png b/chapter_backtracking/permutations_problem.assets/permutations_ii.png index d8ed4815c..577760d39 100644 Binary files a/chapter_backtracking/permutations_problem.assets/permutations_ii.png and b/chapter_backtracking/permutations_problem.assets/permutations_ii.png differ diff --git a/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning.png b/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning.png index 093deb25e..b46f5335e 100644 Binary files a/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning.png and b/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning.png differ diff --git a/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning_summary.png b/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning_summary.png index d1fa83977..ed5b53d53 100644 Binary files a/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning_summary.png and b/chapter_backtracking/permutations_problem.assets/permutations_ii_pruning_summary.png differ diff --git a/chapter_backtracking/subset_sum_problem.assets/subset_sum_i.png b/chapter_backtracking/subset_sum_problem.assets/subset_sum_i.png index 396e8b1f8..b997c39af 100644 Binary files a/chapter_backtracking/subset_sum_problem.assets/subset_sum_i.png and b/chapter_backtracking/subset_sum_problem.assets/subset_sum_i.png differ diff --git a/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_naive.png b/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_naive.png index 785cfa47a..29b423223 100644 Binary files a/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_naive.png and b/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_naive.png differ diff --git a/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_pruning.png b/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_pruning.png index 5c719efab..65b2c2889 100644 Binary files a/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_pruning.png and b/chapter_backtracking/subset_sum_problem.assets/subset_sum_i_pruning.png differ diff --git a/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii.png b/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii.png index ca900e9e7..2a44448d9 100644 Binary files a/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii.png and b/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii.png differ diff --git a/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii_repeat.png b/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii_repeat.png index dc9a475b1..7edc200ed 100644 Binary files a/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii_repeat.png and b/chapter_backtracking/subset_sum_problem.assets/subset_sum_ii_repeat.png differ diff --git a/chapter_computational_complexity/iteration_and_recursion.assets/iteration.png b/chapter_computational_complexity/iteration_and_recursion.assets/iteration.png index 8f0ac4968..412564348 100644 Binary files a/chapter_computational_complexity/iteration_and_recursion.assets/iteration.png and b/chapter_computational_complexity/iteration_and_recursion.assets/iteration.png differ diff --git a/chapter_computational_complexity/iteration_and_recursion.assets/nested_iteration.png b/chapter_computational_complexity/iteration_and_recursion.assets/nested_iteration.png index d46f7ef86..9bb69d05c 100644 Binary files a/chapter_computational_complexity/iteration_and_recursion.assets/nested_iteration.png and b/chapter_computational_complexity/iteration_and_recursion.assets/nested_iteration.png differ diff --git a/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum.png b/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum.png index e64955147..0206091b2 100644 Binary files a/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum.png and b/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum.png differ diff --git a/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum_depth.png b/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum_depth.png index a5692eacd..9b862d3cd 100644 Binary files a/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum_depth.png and b/chapter_computational_complexity/iteration_and_recursion.assets/recursion_sum_depth.png differ diff --git a/chapter_computational_complexity/iteration_and_recursion.assets/recursion_tree.png b/chapter_computational_complexity/iteration_and_recursion.assets/recursion_tree.png index 5bbc53a34..4b85811d3 100644 Binary files a/chapter_computational_complexity/iteration_and_recursion.assets/recursion_tree.png and b/chapter_computational_complexity/iteration_and_recursion.assets/recursion_tree.png differ diff --git a/chapter_computational_complexity/iteration_and_recursion.assets/tail_recursion_sum.png b/chapter_computational_complexity/iteration_and_recursion.assets/tail_recursion_sum.png index c678438a8..04066ae5f 100644 Binary files a/chapter_computational_complexity/iteration_and_recursion.assets/tail_recursion_sum.png and b/chapter_computational_complexity/iteration_and_recursion.assets/tail_recursion_sum.png differ diff --git a/chapter_computational_complexity/space_complexity.assets/space_complexity_common_types.png b/chapter_computational_complexity/space_complexity.assets/space_complexity_common_types.png index 31b4891c0..1f0d8daee 100644 Binary files a/chapter_computational_complexity/space_complexity.assets/space_complexity_common_types.png and b/chapter_computational_complexity/space_complexity.assets/space_complexity_common_types.png differ diff --git a/chapter_computational_complexity/space_complexity.assets/space_complexity_exponential.png b/chapter_computational_complexity/space_complexity.assets/space_complexity_exponential.png index f6ff889ba..560571067 100644 Binary files a/chapter_computational_complexity/space_complexity.assets/space_complexity_exponential.png and b/chapter_computational_complexity/space_complexity.assets/space_complexity_exponential.png differ diff --git a/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_linear.png b/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_linear.png index 7a3f37225..0c05aabe7 100644 Binary files a/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_linear.png and b/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_linear.png differ diff --git a/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_quadratic.png b/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_quadratic.png index e11cc168e..25d4dcc3d 100644 Binary files a/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_quadratic.png and b/chapter_computational_complexity/space_complexity.assets/space_complexity_recursive_quadratic.png differ diff --git a/chapter_computational_complexity/space_complexity.assets/space_types.png b/chapter_computational_complexity/space_complexity.assets/space_types.png index a8cc1986f..8dc9bc2b1 100644 Binary files a/chapter_computational_complexity/space_complexity.assets/space_types.png and b/chapter_computational_complexity/space_complexity.assets/space_types.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/asymptotic_upper_bound.png b/chapter_computational_complexity/time_complexity.assets/asymptotic_upper_bound.png index eecaef86c..8c69831ca 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/asymptotic_upper_bound.png and b/chapter_computational_complexity/time_complexity.assets/asymptotic_upper_bound.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_common_types.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_common_types.png index f2221f3da..500e1a7e0 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_common_types.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_common_types.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_constant_linear_quadratic.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_constant_linear_quadratic.png index c45fd7afe..d9f943f14 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_constant_linear_quadratic.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_constant_linear_quadratic.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_exponential.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_exponential.png index 20f77bfad..69e34bab3 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_exponential.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_exponential.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_factorial.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_factorial.png index e62e1702f..50ce0a85b 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_factorial.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_factorial.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic.png index 354ac82ae..48fa8c163 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic_linear.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic_linear.png index ad3040172..20daacbbc 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic_linear.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_logarithmic_linear.png differ diff --git a/chapter_computational_complexity/time_complexity.assets/time_complexity_simple_example.png b/chapter_computational_complexity/time_complexity.assets/time_complexity_simple_example.png index b10793083..fcc2c5fc5 100644 Binary files a/chapter_computational_complexity/time_complexity.assets/time_complexity_simple_example.png and b/chapter_computational_complexity/time_complexity.assets/time_complexity_simple_example.png differ diff --git a/chapter_data_structure/character_encoding.assets/ascii_table.png b/chapter_data_structure/character_encoding.assets/ascii_table.png index d4766d60f..9d80a7c1e 100644 Binary files a/chapter_data_structure/character_encoding.assets/ascii_table.png and b/chapter_data_structure/character_encoding.assets/ascii_table.png differ diff --git a/chapter_data_structure/character_encoding.assets/unicode_hello_algo.png b/chapter_data_structure/character_encoding.assets/unicode_hello_algo.png index d0c42ad9e..57255a81d 100644 Binary files a/chapter_data_structure/character_encoding.assets/unicode_hello_algo.png and b/chapter_data_structure/character_encoding.assets/unicode_hello_algo.png differ diff --git a/chapter_data_structure/character_encoding.assets/utf-8_hello_algo.png b/chapter_data_structure/character_encoding.assets/utf-8_hello_algo.png index 8cda09495..d90783444 100644 Binary files a/chapter_data_structure/character_encoding.assets/utf-8_hello_algo.png and b/chapter_data_structure/character_encoding.assets/utf-8_hello_algo.png differ diff --git a/chapter_data_structure/classification_of_data_structure.assets/classification_logic_structure.png b/chapter_data_structure/classification_of_data_structure.assets/classification_logic_structure.png index f7c515e58..1c3f42c83 100644 Binary files a/chapter_data_structure/classification_of_data_structure.assets/classification_logic_structure.png and b/chapter_data_structure/classification_of_data_structure.assets/classification_logic_structure.png differ diff --git a/chapter_data_structure/classification_of_data_structure.assets/classification_phisical_structure.png b/chapter_data_structure/classification_of_data_structure.assets/classification_phisical_structure.png index 11958abe4..94288e511 100644 Binary files a/chapter_data_structure/classification_of_data_structure.assets/classification_phisical_structure.png and b/chapter_data_structure/classification_of_data_structure.assets/classification_phisical_structure.png differ diff --git a/chapter_data_structure/classification_of_data_structure.assets/computer_memory_location.png b/chapter_data_structure/classification_of_data_structure.assets/computer_memory_location.png index c29923bcd..e14100e85 100644 Binary files a/chapter_data_structure/classification_of_data_structure.assets/computer_memory_location.png and b/chapter_data_structure/classification_of_data_structure.assets/computer_memory_location.png differ diff --git a/chapter_data_structure/number_encoding.assets/1s_2s_complement.png b/chapter_data_structure/number_encoding.assets/1s_2s_complement.png index 587b8cd2a..bc1725be0 100644 Binary files a/chapter_data_structure/number_encoding.assets/1s_2s_complement.png and b/chapter_data_structure/number_encoding.assets/1s_2s_complement.png differ diff --git a/chapter_data_structure/number_encoding.assets/ieee_754_float.png b/chapter_data_structure/number_encoding.assets/ieee_754_float.png index ba74b7bfc..55f1b89f9 100644 Binary files a/chapter_data_structure/number_encoding.assets/ieee_754_float.png and b/chapter_data_structure/number_encoding.assets/ieee_754_float.png differ diff --git a/chapter_divide_and_conquer/binary_search_recur.assets/binary_search_recur.png b/chapter_divide_and_conquer/binary_search_recur.assets/binary_search_recur.png index 8b7f9a125..7811a4ce8 100644 Binary files a/chapter_divide_and_conquer/binary_search_recur.assets/binary_search_recur.png and b/chapter_divide_and_conquer/binary_search_recur.assets/binary_search_recur.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_division_pointers.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_division_pointers.png index 52b769e2f..51f02fa61 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_division_pointers.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_division_pointers.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_example.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_example.png index 43b38f5ae..0ac06bb5a 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_example.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_example.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_preorder_inorder_division.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_preorder_inorder_division.png index 51b5a3b15..427cca531 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_preorder_inorder_division.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/build_tree_preorder_inorder_division.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_overall.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_overall.png index 792b39ceb..d68b38b07 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_overall.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_overall.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step1.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step1.png index 31a7b8d88..61f1ef74c 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step1.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step1.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step2.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step2.png index a48bc97be..23dfb8b88 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step2.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step2.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step3.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step3.png index 265ca7832..73f650aa6 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step3.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step3.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step4.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step4.png index 61e3a0bee..fb5db2050 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step4.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step4.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step5.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step5.png index db85bc1a1..c3f55b54a 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step5.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step5.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step6.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step6.png index 9360285b8..f69ede0a6 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step6.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step6.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step7.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step7.png index c9bae3d02..ee72272ae 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step7.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step7.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step8.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step8.png index c1d8288d5..8a180a23d 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step8.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step8.png differ diff --git a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step9.png b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step9.png index 16be73dc8..923dd9036 100644 Binary files a/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step9.png and b/chapter_divide_and_conquer/build_binary_tree_problem.assets/built_tree_step9.png differ diff --git a/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_bubble_sort.png b/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_bubble_sort.png index b0a7b7ad4..261ccf21b 100644 Binary files a/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_bubble_sort.png and b/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_bubble_sort.png differ diff --git a/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_merge_sort.png b/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_merge_sort.png index 0d77e27d3..3ea96e934 100644 Binary files a/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_merge_sort.png and b/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_merge_sort.png differ diff --git a/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_parallel_computing.png b/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_parallel_computing.png index 99387765a..4abbb183d 100644 Binary files a/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_parallel_computing.png and b/chapter_divide_and_conquer/divide_and_conquer.assets/divide_and_conquer_parallel_computing.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_divide_and_conquer.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_divide_and_conquer.png index 60228274b..aeab11a06 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_divide_and_conquer.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_divide_and_conquer.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_example.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_example.png index e8b4d0ee9..c45d0e5c5 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_example.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_example.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step1.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step1.png index a50a8d5fe..e322e9810 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step1.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step1.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step2.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step2.png index 4169b4acc..852c897d7 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step2.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f1_step2.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step1.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step1.png index cd7792f1c..81ef236f1 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step1.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step1.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step2.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step2.png index 9678899f3..390eeca8b 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step2.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step2.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step3.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step3.png index 2898ee229..9012a14d7 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step3.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step3.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step4.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step4.png index 49ccd4be6..ec75fde61 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step4.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f2_step4.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step1.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step1.png index f656022cb..e0fd3f520 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step1.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step1.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step2.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step2.png index 3ee9e921d..c3e2a4130 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step2.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step2.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step3.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step3.png index 56f72f5e0..d3b2e1dfc 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step3.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step3.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step4.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step4.png index 769feb066..95af9ff43 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step4.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_f3_step4.png differ diff --git a/chapter_divide_and_conquer/hanota_problem.assets/hanota_recursive_tree.png b/chapter_divide_and_conquer/hanota_problem.assets/hanota_recursive_tree.png index e67d91801..cebed6b1c 100644 Binary files a/chapter_divide_and_conquer/hanota_problem.assets/hanota_recursive_tree.png and b/chapter_divide_and_conquer/hanota_problem.assets/hanota_recursive_tree.png differ diff --git a/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_example.png b/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_example.png index aecc51f72..28e050093 100644 Binary files a/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_example.png and b/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_example.png differ diff --git a/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_state_transfer.png b/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_state_transfer.png index dc0012052..ed1bf0738 100644 Binary files a/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_state_transfer.png and b/chapter_dynamic_programming/dp_problem_features.assets/climbing_stairs_constraint_state_transfer.png differ diff --git a/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_dp.png b/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_dp.png index 9e6f79a6c..3ef66958b 100644 Binary files a/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_dp.png and b/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_dp.png differ diff --git a/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_example.png b/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_example.png index 254bbd77b..033caa8e8 100644 Binary files a/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_example.png and b/chapter_dynamic_programming/dp_problem_features.assets/min_cost_cs_example.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs.png index 78b05498f..9a9872bdf 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs_mem.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs_mem.png index 3c2a4713f..b8a816d95 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs_mem.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dfs_mem.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step1.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step1.png index b8a73b62b..5699358f9 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step1.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step1.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step10.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step10.png index 830954362..895c38bd4 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step10.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step10.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step11.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step11.png index f2bfbb0f1..789fd9d54 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step11.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step11.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step12.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step12.png index 0e2a7ca1d..a2b1b8ca3 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step12.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step12.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step2.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step2.png index 31ab80a5f..d4e9d9f2f 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step2.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step2.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step3.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step3.png index 36d6dbec4..49e984e59 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step3.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step3.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step4.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step4.png index 30014cc2d..df0b83e4e 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step4.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step4.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step5.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step5.png index 21647069c..090e91764 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step5.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step5.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step6.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step6.png index 533dfe63c..5eb6d2db3 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step6.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step6.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step7.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step7.png index 8d1aa4487..ffe8d4cf1 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step7.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step7.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step8.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step8.png index b70c472bd..13572ba5d 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step8.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step8.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step9.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step9.png index a4875ccfd..64228be88 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step9.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_dp_step9.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_example.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_example.png index bf17e2286..7244328c0 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_example.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_example.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step1.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step1.png index 74d57386f..758c0b116 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step1.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step1.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step2.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step2.png index 3ed0335fc..2b01417e2 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step2.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step2.png differ diff --git a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step3.png b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step3.png index e2632ac57..f7a41765b 100644 Binary files a/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step3.png and b/chapter_dynamic_programming/dp_solution_pipeline.assets/min_path_sum_solution_step3.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_decision_tree.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_decision_tree.png index cefaaa240..6459d64d2 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_decision_tree.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_decision_tree.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step1.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step1.png index 2a3e15a99..afb660bee 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step1.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step1.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step10.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step10.png index 04d99d477..4bb9ce37f 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step10.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step10.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step11.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step11.png index efb6d9e89..3756ca019 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step11.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step11.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step12.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step12.png index 7d7bf92e8..78ceb86fc 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step12.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step12.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step13.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step13.png index 7c545a4a2..e588f024b 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step13.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step13.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step14.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step14.png index d142ae57f..f31b828aa 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step14.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step14.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step15.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step15.png index b6e95e915..44003d2ba 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step15.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step15.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step2.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step2.png index 8f24b3766..8f069eca3 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step2.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step2.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step3.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step3.png index 069769407..be21b846b 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step3.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step3.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step4.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step4.png index 8fd32fae5..12dbb4886 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step4.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step4.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step5.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step5.png index 6da1e77c4..67ab268eb 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step5.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step5.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step6.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step6.png index ab48fde29..e8d11260a 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step6.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step6.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step7.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step7.png index 86274bf7f..beeb86ee0 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step7.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step7.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step8.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step8.png index a4b3b53b9..235b7f7d2 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step8.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step8.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step9.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step9.png index 120443be1..381571bb0 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step9.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_dp_step9.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_example.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_example.png index 1af335533..f299b0e8d 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_example.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_example.png differ diff --git a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_state_transfer.png b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_state_transfer.png index e93090da0..1f96972f3 100644 Binary files a/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_state_transfer.png and b/chapter_dynamic_programming/edit_distance_problem.assets/edit_distance_state_transfer.png differ diff --git a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_memo_tree.png b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_memo_tree.png index bccc8424c..7e6d225c2 100644 Binary files a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_memo_tree.png and b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_memo_tree.png differ diff --git a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_tree.png b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_tree.png index c19208216..1d990be77 100644 Binary files a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_tree.png and b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dfs_tree.png differ diff --git a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dp.png b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dp.png index 8de01aa65..f7873a6d3 100644 Binary files a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dp.png and b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_dp.png differ diff --git a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_example.png b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_example.png index 7b0c5a404..6d28e6790 100644 Binary files a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_example.png and b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_example.png differ diff --git a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_state_transfer.png b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_state_transfer.png index 4018653c1..bd2166a24 100644 Binary files a/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_state_transfer.png and b/chapter_dynamic_programming/intro_to_dynamic_programming.assets/climbing_stairs_state_transfer.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs.png index d0a2cfc56..886777113 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs_mem.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs_mem.png index 10f77a843..0441d7075 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs_mem.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dfs_mem.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step1.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step1.png index 2d3cfcbfb..3ed6c9391 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step1.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step1.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step2.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step2.png index bb573ac50..dfcce11bb 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step2.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step2.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step3.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step3.png index c7fde55b5..c5892925f 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step3.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step3.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step4.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step4.png index a0cecc4a5..80eebf9b2 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step4.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step4.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step5.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step5.png index 9ba51408f..cb1e4f98c 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step5.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step5.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step6.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step6.png index 3d62804c7..43cb3f3a9 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step6.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_comp_step6.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step1.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step1.png index 50644896d..40987153b 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step1.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step1.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step10.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step10.png index 8b5061def..56eb99351 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step10.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step10.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step11.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step11.png index 5cfbcd35e..87540a502 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step11.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step11.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step12.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step12.png index e393e33e7..02608bc6e 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step12.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step12.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step13.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step13.png index 1b8efd8fb..6d6bd15aa 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step13.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step13.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step14.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step14.png index 2b2a4c642..6ecfe0dc9 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step14.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step14.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step2.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step2.png index d5cf21acd..536370ab8 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step2.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step2.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step3.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step3.png index b51de75e6..b734ebe39 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step3.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step3.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step4.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step4.png index 13419bcaf..7a20a6023 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step4.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step4.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step5.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step5.png index a2609b7e2..679aefd50 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step5.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step5.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step6.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step6.png index d195f1675..dd110cca2 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step6.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step6.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step7.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step7.png index 3558283fd..22b487292 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step7.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step7.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step8.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step8.png index 044131410..c5877af29 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step8.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step8.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step9.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step9.png index 2fc9fe910..3f57114d0 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step9.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_dp_step9.png differ diff --git a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_example.png b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_example.png index 2fc4b7b72..04c59f1e7 100644 Binary files a/chapter_dynamic_programming/knapsack_problem.assets/knapsack_example.png and b/chapter_dynamic_programming/knapsack_problem.assets/knapsack_example.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step1.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step1.png index 14e887982..ea7b6a7b3 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step1.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step1.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step10.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step10.png index 539eac560..c15b242d4 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step10.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step10.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step11.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step11.png index b4e6bfa3f..9cde92c65 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step11.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step11.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step12.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step12.png index fbd985692..fbe96594c 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step12.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step12.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step13.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step13.png index 51cc51e3a..d267d61b4 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step13.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step13.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step14.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step14.png index 0d8642a04..87ca4b080 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step14.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step14.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step15.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step15.png index b18775f05..a7e223d54 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step15.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step15.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step2.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step2.png index 4551b5a2d..e0f7f8c0b 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step2.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step2.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step3.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step3.png index 78b8bb930..9eaa0d4ee 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step3.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step3.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step4.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step4.png index 1450f0675..baa2159c0 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step4.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step4.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step5.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step5.png index 8e3dab996..ee582f98a 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step5.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step5.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step6.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step6.png index a13e170d7..6116eb082 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step6.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step6.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step7.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step7.png index ddd6992cc..d9b92f07c 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step7.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step7.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step8.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step8.png index 6695e88ae..0ae5e8d09 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step8.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step8.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step9.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step9.png index 761b55af7..654fd6e6f 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step9.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_dp_step9.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_example.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_example.png index c8aeca971..c95e0594c 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_example.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_example.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_ii_example.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_ii_example.png index bcae07592..2db0071db 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_ii_example.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/coin_change_ii_example.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step1.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step1.png index 21d2b8030..dfa4f59fb 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step1.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step1.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step2.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step2.png index e50d03c9d..259e8d20e 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step2.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step2.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step3.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step3.png index 8c4d85ac4..c3f58803e 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step3.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step3.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step4.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step4.png index 4941cadc1..f25ff27e7 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step4.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step4.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step5.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step5.png index 76c5a2ec1..27861f808 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step5.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step5.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step6.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step6.png index d401177bd..2974cd22d 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step6.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_dp_comp_step6.png differ diff --git a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_example.png b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_example.png index a4bc2d04b..829cbd401 100644 Binary files a/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_example.png and b/chapter_dynamic_programming/unbounded_knapsack_problem.assets/unbounded_knapsack_example.png differ diff --git a/chapter_graph/graph.assets/adjacency_list.png b/chapter_graph/graph.assets/adjacency_list.png index 2c91ed0f0..6be64bc17 100644 Binary files a/chapter_graph/graph.assets/adjacency_list.png and b/chapter_graph/graph.assets/adjacency_list.png differ diff --git a/chapter_graph/graph.assets/adjacency_matrix.png b/chapter_graph/graph.assets/adjacency_matrix.png index e5e88c1b7..a70ee0db4 100644 Binary files a/chapter_graph/graph.assets/adjacency_matrix.png and b/chapter_graph/graph.assets/adjacency_matrix.png differ diff --git a/chapter_graph/graph.assets/connected_graph.png b/chapter_graph/graph.assets/connected_graph.png index 951463404..3d3dc1b69 100644 Binary files a/chapter_graph/graph.assets/connected_graph.png and b/chapter_graph/graph.assets/connected_graph.png differ diff --git a/chapter_graph/graph.assets/directed_graph.png b/chapter_graph/graph.assets/directed_graph.png index 9ca662d40..7067e6fdf 100644 Binary files a/chapter_graph/graph.assets/directed_graph.png and b/chapter_graph/graph.assets/directed_graph.png differ diff --git a/chapter_graph/graph.assets/linkedlist_tree_graph.png b/chapter_graph/graph.assets/linkedlist_tree_graph.png index 0443ecfd6..2e3f9b7c0 100644 Binary files a/chapter_graph/graph.assets/linkedlist_tree_graph.png and b/chapter_graph/graph.assets/linkedlist_tree_graph.png differ diff --git a/chapter_graph/graph.assets/weighted_graph.png b/chapter_graph/graph.assets/weighted_graph.png index 951ccb73f..63d6934d6 100644 Binary files a/chapter_graph/graph.assets/weighted_graph.png and b/chapter_graph/graph.assets/weighted_graph.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_list_add_edge.png b/chapter_graph/graph_operations.assets/adjacency_list_add_edge.png index e42776d7f..203feae86 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_list_add_edge.png and b/chapter_graph/graph_operations.assets/adjacency_list_add_edge.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_list_add_vertex.png b/chapter_graph/graph_operations.assets/adjacency_list_add_vertex.png index 8569ca6fc..7245edb97 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_list_add_vertex.png and b/chapter_graph/graph_operations.assets/adjacency_list_add_vertex.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_list_initialization.png b/chapter_graph/graph_operations.assets/adjacency_list_initialization.png index b151a1e94..c2b3af571 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_list_initialization.png and b/chapter_graph/graph_operations.assets/adjacency_list_initialization.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_list_remove_edge.png b/chapter_graph/graph_operations.assets/adjacency_list_remove_edge.png index ff4545620..28138b5c0 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_list_remove_edge.png and b/chapter_graph/graph_operations.assets/adjacency_list_remove_edge.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_list_remove_vertex.png b/chapter_graph/graph_operations.assets/adjacency_list_remove_vertex.png index 2930dab51..32809ccef 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_list_remove_vertex.png and b/chapter_graph/graph_operations.assets/adjacency_list_remove_vertex.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_matrix_add_edge.png b/chapter_graph/graph_operations.assets/adjacency_matrix_add_edge.png index a5227c20a..57c1f43e5 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_matrix_add_edge.png and b/chapter_graph/graph_operations.assets/adjacency_matrix_add_edge.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_matrix_add_vertex.png b/chapter_graph/graph_operations.assets/adjacency_matrix_add_vertex.png index c2a633b0e..a76fa8a95 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_matrix_add_vertex.png and b/chapter_graph/graph_operations.assets/adjacency_matrix_add_vertex.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_matrix_initialization.png b/chapter_graph/graph_operations.assets/adjacency_matrix_initialization.png index f0d69d384..75e48ce3a 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_matrix_initialization.png and b/chapter_graph/graph_operations.assets/adjacency_matrix_initialization.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_matrix_remove_edge.png b/chapter_graph/graph_operations.assets/adjacency_matrix_remove_edge.png index 6a7880917..3649321b6 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_matrix_remove_edge.png and b/chapter_graph/graph_operations.assets/adjacency_matrix_remove_edge.png differ diff --git a/chapter_graph/graph_operations.assets/adjacency_matrix_remove_vertex.png b/chapter_graph/graph_operations.assets/adjacency_matrix_remove_vertex.png index 4d7d8a135..a468a9262 100644 Binary files a/chapter_graph/graph_operations.assets/adjacency_matrix_remove_vertex.png and b/chapter_graph/graph_operations.assets/adjacency_matrix_remove_vertex.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs.png b/chapter_graph/graph_traversal.assets/graph_bfs.png index a32224cca..cc46b9031 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs.png and b/chapter_graph/graph_traversal.assets/graph_bfs.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step1.png b/chapter_graph/graph_traversal.assets/graph_bfs_step1.png index 18ce7f77b..dc91f3de9 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step1.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step1.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step10.png b/chapter_graph/graph_traversal.assets/graph_bfs_step10.png index 84d734444..742758028 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step10.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step10.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step11.png b/chapter_graph/graph_traversal.assets/graph_bfs_step11.png index 574a6a6d5..b8b49674b 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step11.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step11.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step2.png b/chapter_graph/graph_traversal.assets/graph_bfs_step2.png index a141d19f5..dd01ed58d 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step2.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step2.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step3.png b/chapter_graph/graph_traversal.assets/graph_bfs_step3.png index 0807dbcc4..c584d6f1c 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step3.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step3.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step4.png b/chapter_graph/graph_traversal.assets/graph_bfs_step4.png index 4c78d27d6..8a6902a9c 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step4.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step4.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step5.png b/chapter_graph/graph_traversal.assets/graph_bfs_step5.png index cc80051b1..ae6ff3b53 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step5.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step5.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step6.png b/chapter_graph/graph_traversal.assets/graph_bfs_step6.png index 9ce583c6a..930ff0fbe 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step6.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step6.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step7.png b/chapter_graph/graph_traversal.assets/graph_bfs_step7.png index 195741733..d1650e7d8 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step7.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step7.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step8.png b/chapter_graph/graph_traversal.assets/graph_bfs_step8.png index e5ec0834c..7077bd86f 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step8.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step8.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_bfs_step9.png b/chapter_graph/graph_traversal.assets/graph_bfs_step9.png index afebe6130..503379e8e 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_bfs_step9.png and b/chapter_graph/graph_traversal.assets/graph_bfs_step9.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs.png b/chapter_graph/graph_traversal.assets/graph_dfs.png index 580369520..5ff02d338 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs.png and b/chapter_graph/graph_traversal.assets/graph_dfs.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step1.png b/chapter_graph/graph_traversal.assets/graph_dfs_step1.png index 65bde8c2c..e6a2f7dda 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step1.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step1.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step10.png b/chapter_graph/graph_traversal.assets/graph_dfs_step10.png index 7f1c4f39c..a8e256b03 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step10.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step10.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step11.png b/chapter_graph/graph_traversal.assets/graph_dfs_step11.png index b0e77af7b..443c1d926 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step11.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step11.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step2.png b/chapter_graph/graph_traversal.assets/graph_dfs_step2.png index a1d858a2e..375086ab8 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step2.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step2.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step3.png b/chapter_graph/graph_traversal.assets/graph_dfs_step3.png index a27be92e7..37ae3c96b 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step3.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step3.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step4.png b/chapter_graph/graph_traversal.assets/graph_dfs_step4.png index 85c0e2433..496e1541e 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step4.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step4.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step5.png b/chapter_graph/graph_traversal.assets/graph_dfs_step5.png index 3f60006f0..60a0e7e24 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step5.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step5.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step6.png b/chapter_graph/graph_traversal.assets/graph_dfs_step6.png index f1518550b..f3dca4ba3 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step6.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step6.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step7.png b/chapter_graph/graph_traversal.assets/graph_dfs_step7.png index f7f25734a..a8b281d93 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step7.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step7.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step8.png b/chapter_graph/graph_traversal.assets/graph_dfs_step8.png index ecdf4c685..c93a6a61b 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step8.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step8.png differ diff --git a/chapter_graph/graph_traversal.assets/graph_dfs_step9.png b/chapter_graph/graph_traversal.assets/graph_dfs_step9.png index e8716fb7f..aafc1062e 100644 Binary files a/chapter_graph/graph_traversal.assets/graph_dfs_step9.png and b/chapter_graph/graph_traversal.assets/graph_dfs_step9.png differ diff --git a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_area_chart.png b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_area_chart.png index ef3335144..28023758d 100644 Binary files a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_area_chart.png and b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_area_chart.png differ diff --git a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_example.png b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_example.png index 9fc088a62..134362c73 100644 Binary files a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_example.png and b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_example.png differ diff --git a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_greedy_strategy.png b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_greedy_strategy.png index f38cc58f0..713f30add 100644 Binary files a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_greedy_strategy.png and b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_greedy_strategy.png differ diff --git a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_unit_value.png b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_unit_value.png index 8627f7f57..7e4199ca0 100644 Binary files a/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_unit_value.png and b/chapter_greedy/fractional_knapsack_problem.assets/fractional_knapsack_unit_value.png differ diff --git a/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_strategy.png b/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_strategy.png index 133b30f3e..b2daea2c7 100644 Binary files a/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_strategy.png and b/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_strategy.png differ diff --git a/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_vs_dp.png b/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_vs_dp.png index 5d60f211a..d7cb513c7 100644 Binary files a/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_vs_dp.png and b/chapter_greedy/greedy_algorithm.assets/coin_change_greedy_vs_dp.png differ diff --git a/chapter_greedy/greedy_algorithm/index.html b/chapter_greedy/greedy_algorithm/index.html index 43d848c75..90ff43220 100644 --- a/chapter_greedy/greedy_algorithm/index.html +++ b/chapter_greedy/greedy_algorithm/index.html @@ -3813,7 +3813,7 @@

你可能会不由地发出感叹:So clean !贪心算法仅用约十行代码就解决了零钱兑换问题。

15.1.1   贪心算法的优点与局限性

-

贪心算法不仅操作直接、实现简单,而且通常效率也很高。在以上代码中,记硬币最小面值为 \(\min(coins)\) ,则贪心选择最多循环 \(amt / \min(coins)\) 次,时间复杂度为 \(O(amt / \min(coins))\) 。这比动态规划解法的时间复杂度 \(O(n \times amt)\) 提升了一个数量级。

+

贪心算法不仅操作直接、实现简单,而且通常效率也很高。在以上代码中,记硬币最小面值为 \(\min(coins)\) ,则贪心选择最多循环 \(amt / \min(coins)\) 次,时间复杂度为 \(O(amt / \min(coins))\) 。这比动态规划解法的时间复杂度 \(O(n \times amt)\) 降低了一个数量级。

然而,对于某些硬币面值组合,贪心算法并不能找到最优解。图 15-2 给出了两个示例。