Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the author info sjinzh -> codingonion #1017

Merged
merged 2 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codes/c/chapter_computational_complexity/time_complexity.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: time_complexity.c
* Created Time: 2023-01-03
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

#include "../utils/common.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* File: worst_best_time_complexity.c
* Created Time: 2023-01-03
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

#include "../utils/common.h"
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_array_and_linkedlist/array.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: array.rs
* Created Time: 2023-01-15
* Author: xBLACICEx ([email protected]), sjinzh (sjinzh@gmail.com)
* Author: xBLACICEx ([email protected]), codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_array_and_linkedlist/linked_list.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: linked_list.rs
* Created Time: 2023-03-05
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_array_and_linkedlist/list.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: list.rs
* Created Time: 2023-01-18
* Author: xBLACICEx ([email protected]), sjinzh (sjinzh@gmail.com)
* Author: xBLACICEx ([email protected]), codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_array_and_linkedlist/my_list.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: my_list.rs
* Created Time: 2023-03-11
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_backtracking/n_queens.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: n_queens.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 回溯算法:N 皇后 */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_backtracking/permutations_i.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: permutations_i.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 回溯算法:全排列 I */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_backtracking/permutations_ii.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: permutations_ii.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

use std::collections::HashSet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: preorder_traversal_i_compact.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: preorder_traversal_ii_compact.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: preorder_traversal_iii_compact.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: preorder_traversal_iii_template.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_backtracking/subset_sum_i.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: subset_sum_i.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 回溯算法:子集和 I */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_backtracking/subset_sum_i_naive.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: subset_sum_i_naive.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 回溯算法:子集和 I */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_backtracking/subset_sum_ii.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: subset_sum_ii.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 回溯算法:子集和 II */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: space_complexity.rs
* Created Time: 2023-03-11
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: time_complexity.rs
* Created Time: 2023-01-10
* Author: xBLACICEx ([email protected]), sjinzh (sjinzh@gmail.com)
* Author: xBLACICEx ([email protected]), codingonion (coderonion@gmail.com)
*/

/* 常数阶 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: worst_best_time_complexity.rs
* Created Time: 2023-01-13
* Author: xBLACICEx ([email protected]), sjinzh (sjinzh@gmail.com)
* Author: xBLACICEx ([email protected]), codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: binary_search_recur.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 二分查找:问题 f(i, j) */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_divide_and_conquer/build_tree.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: build_tree.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

use std::{cell::RefCell, rc::Rc};
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_divide_and_conquer/hanota.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: hanota.rs
* Created Time: 2023-07-15
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

#![allow(non_snake_case)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: climbing_stairs_backtrack.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 回溯 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: climbing_stairs_constraint_dp.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 带约束爬楼梯:动态规划 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: climbing_stairs_dfs.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 搜索 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: climbing_stairs_dfs_mem.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 记忆化搜索 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: climbing_stairs_dp.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 爬楼梯:动态规划 */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_dynamic_programming/coin_change.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: coin_change.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 零钱兑换:动态规划 */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_dynamic_programming/coin_change_ii.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: coin_change_ii.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 零钱兑换 II:动态规划 */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_dynamic_programming/edit_distance.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: edit_distance.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 编辑距离:暴力搜索 */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_dynamic_programming/knapsack.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: knapsack.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 0-1 背包:暴力搜索 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: min_cost_climbing_stairs_dp.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

use std::cmp;
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_dynamic_programming/min_path_sum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: min_path_sum.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 最小路径和:暴力搜索 */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: unbounded_knapsack.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 完全背包:动态规划 */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_hashing/hash_map.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: hash_map.rs
* Created Time: 2023-02-05
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_searching/binary_search.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: binary_search.rs
* Created Time: 2023-02-05
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

/* 二分查找(双闭区间) */
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_searching/hashing_search.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: hashing_search.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_searching/linear_search.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: linear_search.rs
* Created Time: 2023-07-09
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_searching/two_sum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: two_sum.rs
* Created Time: 2023-01-14
* Author: xBLACICEx ([email protected]), sjinzh (sjinzh@gmail.com)
* Author: xBLACICEx ([email protected]), codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_sorting/bubble_sort.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: bubble_sort.rs
* Created Time: 2023-02-05
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_stack_and_queue/array_deque.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: array_deque.rs
* Created Time: 2023-03-11
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_stack_and_queue/array_stack.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: array_stack.rs
* Created Time: 2023-02-05
* Author: WSL0809 ([email protected]), sjinzh (sjinzh@gmail.com)
* Author: WSL0809 ([email protected]), codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_stack_and_queue/deque.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: deque.rs
* Created Time: 2023-02-05
* Author: sjinzh (sjinzh@gmail.com), xBLACKICEx ([email protected])
* Author: codingonion (coderonion@gmail.com), xBLACKICEx ([email protected])
*/

include!("../include/include.rs");
Expand Down
2 changes: 1 addition & 1 deletion codes/rust/chapter_stack_and_queue/linkedlist_deque.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* File: linkedlist_deque.rs
* Created Time: 2023-03-11
* Author: sjinzh (sjinzh@gmail.com)
* Author: codingonion (coderonion@gmail.com)
*/

include!("../include/include.rs");
Expand Down
Loading