mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 03:06:29 +08:00
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:
parent
b77abf058a
commit
a005c6ebd3
323 changed files with 419 additions and 366 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: max_product_cutting.cpp
|
||||
* Created Time: 2023-07-21
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: built_in_hash.cpp
|
||||
* Created Time: 2023-06-21
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: hash_map_chaining.cpp
|
||||
* Created Time: 2023-06-13
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "./array_hash_map.cpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: hash_map_open_addressing.cpp
|
||||
* Created Time: 2023-06-13
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "./array_hash_map.cpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: simple_hash.cpp
|
||||
* Created Time: 2023-06-21
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: top_k.cpp
|
||||
* Created Time: 2023-06-12
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_search.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_search_edge.cpp
|
||||
* Created Time: 2023-08-04
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_search_insertion.cpp
|
||||
* Created Time: 2023-08-04
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: hashing_search.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: linear_search.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: two_sum.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: bubble_sort.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: bucket_sort.cpp
|
||||
* Created Time: 2023-03-30
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: counting_sort.cpp
|
||||
* Created Time: 2023-03-17
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: heap_sort.cpp
|
||||
* Created Time: 2023-05-26
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: insertion_sort.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: merge_sort.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: quick_sort.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: radix_sort.cpp
|
||||
* Created Time: 2023-03-26
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: selection_sort.cpp
|
||||
* Created Time: 2023-05-23
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: array_deque.cpp
|
||||
* Created Time: 2023-03-02
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: array_queue.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: deque.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: linkedlist_deque.cpp
|
||||
* Created Time: 2023-03-02
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: linkedlist_queue.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: array_binary_tree.cpp
|
||||
* Created Time: 2023-07-19
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_search_tree.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_tree.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_tree_bfs.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: binary_tree_dfs.cpp
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#include "../utils/common.hpp"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: common.hpp
|
||||
* Created Time: 2021-12-19
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: list_node.hpp
|
||||
* Created Time: 2021-12-19
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: print_utils.hpp
|
||||
* Created Time: 2021-12-19
|
||||
* Author: Krahets (krahets@163.com), msk397 (machangxinq@gmail.com), LoneRanger(836253168@qq.com)
|
||||
* Author: krahets (krahets@163.com), msk397 (machangxinq@gmail.com), LoneRanger(836253168@qq.com)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: tree_node.hpp
|
||||
* Created Time: 2021-12-19
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: vertex.hpp
|
||||
* Created Time: 2023-03-02
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// File: print_utils.go
|
||||
// Created Time: 2022-12-03
|
||||
// Author: Reanon (793584285@qq.com), Krahets (krahets@163.com), msk397 (machangxinq@gmail.com)
|
||||
// Author: Reanon (793584285@qq.com), krahets (krahets@163.com), msk397 (machangxinq@gmail.com)
|
||||
|
||||
package pkg
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: array.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_array_and_linkedlist;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: linked_list.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_array_and_linkedlist;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: list.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_array_and_linkedlist;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: my_list.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_array_and_linkedlist;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: n_queens.java
|
||||
* Created Time: 2023-05-04
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: permutations_i.java
|
||||
* Created Time: 2023-04-24
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: permutations_ii.java
|
||||
* Created Time: 2023-04-24
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: preorder_traversal_i_compact.java
|
||||
* Created Time: 2023-04-16
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: preorder_traversal_ii_compact.java
|
||||
* Created Time: 2023-04-16
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: preorder_traversal_iii_compact.java
|
||||
* Created Time: 2023-04-16
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: preorder_traversal_iii_template.java
|
||||
* Created Time: 2023-04-16
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: subset_sum_i.java
|
||||
* Created Time: 2023-06-21
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: subset_sum_i_naive.java
|
||||
* Created Time: 2023-06-21
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: subset_sum_ii.java
|
||||
* Created Time: 2023-06-21
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_backtracking;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: iteration.java
|
||||
* Created Time: 2023-08-24
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_computational_complexity;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: recursion.java
|
||||
* Created Time: 2023-08-24
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_computational_complexity;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: space_complexity.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_computational_complexity;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: time_complexity.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_computational_complexity;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* File: worst_best_time_complexity.java
|
||||
* Created Time: 2022-11-25
|
||||
* Author: Krahets (krahets@163.com)
|
||||
* Author: krahets (krahets@163.com)
|
||||
*/
|
||||
|
||||
package chapter_computational_complexity;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue