Some improvements (#1073)

* Update avatar's link in the landing page

* Bug fixes

* Move assets folder from overrides to docs

* Reduce figures' corner radius

* Update copyright

* Update header image

* Krahets -> krahets

* Update the landing page
This commit is contained in:
Yudong Jin
2024-02-07 22:21:18 +08:00
committed by GitHub
parent b77abf058a
commit a005c6ebd3
323 changed files with 419 additions and 366 deletions

View File

@@ -1,7 +1,7 @@
"""
File: array.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import random

View File

@@ -1,7 +1,7 @@
"""
File: linked_list.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: list.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
"""Driver Code"""

View File

@@ -1,7 +1,7 @@
"""
File: my_list.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: n_queens.py
Created Time: 2023-04-26
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: permutations_i.py
Created Time: 2023-04-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: permutations_ii.py
Created Time: 2023-04-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: preorder_traversal_i_compact.py
Created Time: 2023-04-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: preorder_traversal_ii_compact.py
Created Time: 2023-04-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: preorder_traversal_iii_compact.py
Created Time: 2023-04-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: preorder_traversal_iii_template.py
Created Time: 2023-04-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: subset_sum_i.py
Created Time: 2023-06-17
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: subset_sum_i_naive.py
Created Time: 2023-06-17
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: subset_sum_ii.py
Created Time: 2023-06-17
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: iteration.py
Created Time: 2023-08-24
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: recursion.py
Created Time: 2023-08-24
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: space_complexity.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: time_complexity.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: worst_best_time_complexity.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import random

View File

@@ -1,7 +1,7 @@
"""
File: build_tree.py
Created Time: 2023-07-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: hanota.py
Created Time: 2023-07-16
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: climbing_stairs_backtrack.py
Created Time: 2023-06-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: climbing_stairs_constraint_dp.py
Created Time: 2023-06-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: climbing_stairs_dfs.py
Created Time: 2023-06-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: climbing_stairs_dfs_mem.py
Created Time: 2023-06-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: climbing_stairs_dp.py
Created Time: 2023-06-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: coin_change.py
Created Time: 2023-07-10
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: coin_change_ii.py
Created Time: 2023-07-10
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: edit_distancde.py
Created Time: 2023-07-04
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: knapsack.py
Created Time: 2023-07-03
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: min_cost_climbing_stairs_dp.py
Created Time: 2023-06-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: min_path_sum.py
Created Time: 2023-07-04
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
from math import inf

View File

@@ -1,7 +1,7 @@
"""
File: unbounded_knapsack.py
Created Time: 2023-07-10
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: graph_adjacency_list.py
Created Time: 2023-02-23
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: graph_adjacency_matrix.py
Created Time: 2023-02-23
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: graph_bfs.py
Created Time: 2023-02-23
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: graph_dfs.py
Created Time: 2023-02-23
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: coin_change_greedy.py
Created Time: 2023-07-18
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: fractional_knapsack.py
Created Time: 2023-07-19
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: max_capacity.py
Created Time: 2023-07-21
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: max_product_cutting.py
Created Time: 2023-07-21
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import math

View File

@@ -1,7 +1,7 @@
"""
File: built_in_hash.py
Created Time: 2023-06-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: hash_map_chaining.py
Created Time: 2023-06-13
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: hash_map_open_addressing.py
Created Time: 2023-06-13
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: simple_hash.py
Created Time: 2023-06-15
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: heap.py
Created Time: 2023-02-23
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: my_heap.py
Created Time: 2023-02-23
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: top_k.py
Created Time: 2023-06-10
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: binary_search_edge.py
Created Time: 2023-08-04
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: binary_search_insertion.py
Created Time: 2023-08-04
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: two_sum.py
Created Time: 2022-11-25
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: bucket_sort.py
Created Time: 2023-03-30
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: counting_sort.py
Created Time: 2023-03-21
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: heap_sort.py
Created Time: 2023-05-24
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: merge_sort.py
Created Time: 2022-11-25
Author: timi (xisunyy@163.com), Krahets (krahets@163.com)
Author: timi (xisunyy@163.com), krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: radix_sort.py
Created Time: 2023-03-26
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: selection_sort.py
Created Time: 2023-05-22
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: array_deque.py
Created Time: 2023-03-01
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: linkedlist_deque.py
Created Time: 2023-03-01
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: array_binary_tree.py
Created Time: 2023-07-19
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
import sys

View File

@@ -1,7 +1,7 @@
"""
File: list_node.py
Created Time: 2021-12-11
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""

View File

@@ -1,7 +1,7 @@
"""
File: print_util.py
Created Time: 2021-12-11
Author: Krahets (krahets@163.com), msk397 (machangxinq@gmail.com)
Author: krahets (krahets@163.com), msk397 (machangxinq@gmail.com)
"""
from .tree_node import TreeNode, list_to_tree

View File

@@ -1,7 +1,7 @@
"""
File: tree_node.py
Created Time: 2021-12-11
Author: Krahets (krahets@163.com)
Author: krahets (krahets@163.com)
"""
from collections import deque

View File

@@ -1,6 +1,6 @@
# File: vertex.py
# Created Time: 2023-02-23
# Author: Krahets (krahets@163.com)
# Author: krahets (krahets@163.com)
class Vertex: