Skip to content

Commit

Permalink
Some improvements (#1073)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
krahets committed Feb 7, 2024
1 parent b77abf0 commit a005c6e
Show file tree
Hide file tree
Showing 323 changed files with 419 additions and 366 deletions.
2 changes: 1 addition & 1 deletion codes/c/chapter_backtracking/permutations_i.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: permutations_i.c
* Created Time: 2023-06-04
* Author: Gonglja (glj0@outlook.com), Krahets (krahets@163.com)
* Author: Gonglja (glj0@outlook.com), krahets (krahets@163.com)
*/

#include "../utils/common.h"
Expand Down
2 changes: 1 addition & 1 deletion codes/c/chapter_backtracking/permutations_ii.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: permutations_ii.c
* Created Time: 2023-10-17
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.h"
Expand Down
2 changes: 1 addition & 1 deletion codes/c/chapter_hashing/hash_map_chaining.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: hash_map_chaining.c
* Created Time: 2023-10-13
* Author: SenMing (1206575349@qq.com), Krahets (krahets@163.com)
* Author: SenMing (1206575349@qq.com), krahets (krahets@163.com)
*/

#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion codes/c/chapter_heap/top_k.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: top_k.c
* Created Time: 2023-10-26
* Author: Krahets (krahets163.com)
* Author: krahets (krahets163.com)
*/

#include "my_heap.c"
Expand Down
2 changes: 1 addition & 1 deletion codes/c/utils/vertex.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: vertex.h
* Created Time: 2023-10-28
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#ifndef VERTEX_H
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_array_and_linkedlist/array.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: array.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_array_and_linkedlist/linked_list.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: linked_list.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_array_and_linkedlist/list.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: list.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_array_and_linkedlist/my_list.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: my_list.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_backtracking/n_queens.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: n_queens.cpp
* Created Time: 2023-05-04
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_backtracking/permutations_i.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: permutations_i.cpp
* Created Time: 2023-04-24
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_backtracking/permutations_ii.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: permutations_ii.cpp
* Created Time: 2023-04-24
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: preorder_traversal_i_compact.cpp
* Created Time: 2023-04-16
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: preorder_traversal_ii_compact.cpp
* Created Time: 2023-04-16
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: preorder_traversal_iii_compact.cpp
* Created Time: 2023-04-16
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: preorder_traversal_iii_template.cpp
* Created Time: 2023-04-16
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_backtracking/subset_sum_i.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: subset_sum_i.cpp
* Created Time: 2023-06-21
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_backtracking/subset_sum_i_naive.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: subset_sum_i_naive.cpp
* Created Time: 2023-06-21
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_backtracking/subset_sum_ii.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: subset_sum_ii.cpp
* Created Time: 2023-06-21
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_computational_complexity/iteration.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: iteration.cpp
* Created Time: 2023-08-24
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_computational_complexity/recursion.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: recursion.cpp
* Created Time: 2023-08-24
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: space_complexity.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: time_complexity.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: worst_best_time_complexity.cpp
* Created Time: 2022-11-25
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_divide_and_conquer/build_tree.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: build_tree.cpp
* Created Time: 2023-07-17
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_divide_and_conquer/hanota.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: hanota.cpp
* Created Time: 2023-07-17
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* File: climbing_stairs_backtrack.cpp
* Created Time: 2023-06-30
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: climbing_stairs_constraint_dp.cpp
* Created Time: 2023-07-01
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: climbing_stairs_dfs.cpp
* Created Time: 2023-06-30
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: climbing_stairs_dfs_mem.cpp
* Created Time: 2023-06-30
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: climbing_stairs_dp.cpp
* Created Time: 2023-06-30
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_dynamic_programming/coin_change.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: coin_change.cpp
* Created Time: 2023-07-11
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_dynamic_programming/coin_change_ii.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: coin_change_ii.cpp
* Created Time: 2023-07-11
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_dynamic_programming/edit_distance.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: edit_distance.cpp
* Created Time: 2023-07-13
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: min_cost_climbing_stairs_dp.cpp
* Created Time: 2023-06-30
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_dynamic_programming/min_path_sum.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: min_path_sum.cpp
* Created Time: 2023-07-10
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: unbounded_knapsack.cpp
* Created Time: 2023-07-11
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_graph/graph_adjacency_list.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: graph_adjacency_list.cpp
* Created Time: 2023-02-09
* Author: what-is-me (whatisme@outlook.jp), Krahets (krahets@163.com)
* Author: what-is-me (whatisme@outlook.jp), krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_graph/graph_adjacency_list_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: graph_adjacency_list_test.cpp
* Created Time: 2023-02-09
* Author: what-is-me (whatisme@outlook.jp), Krahets (krahets@163.com)
* Author: what-is-me (whatisme@outlook.jp), krahets (krahets@163.com)
*/

#include "./graph_adjacency_list.cpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_graph/graph_bfs.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: graph_bfs.cpp
* Created Time: 2023-03-02
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_graph/graph_dfs.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: graph_dfs.cpp
* Created Time: 2023-03-02
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_greedy/coin_change_greedy.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: coin_change_greedy.cpp
* Created Time: 2023-07-20
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_greedy/fractional_knapsack.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: fractional_knapsack.cpp
* Created Time: 2023-07-20
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
2 changes: 1 addition & 1 deletion codes/cpp/chapter_greedy/max_capacity.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: max_capacity.cpp
* Created Time: 2023-07-21
* Author: Krahets (krahets@163.com)
* Author: krahets (krahets@163.com)
*/

#include "../utils/common.hpp"
Expand Down
Loading

0 comments on commit a005c6e

Please sign in to comment.