mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 21:24:53 +08:00
Bug fixes and improvements (#1298)
* Fix is_empty() implementation in the stack and queue chapter * Update en/CONTRIBUTING.md * Remove "剩余" from the state definition of knapsack problem * Sync zh and zh-hant versions * Update the stylesheets of code tabs * Fix quick_sort.rb * Fix TS code * Update chapter_paperbook * Upload the manuscript of 0.1 section * Fix binary_tree_dfs.rb * Bug fixes * Update README * Update README * Update README * Update README.md * Update README * Sync zh and zh-hant versions * Bug fixes
This commit is contained in:
@ -51,4 +51,4 @@ const res = subsetSumI(nums, target);
|
||||
console.log(`输入数组 nums = ${JSON.stringify(nums)}, target = ${target}`);
|
||||
console.log(`所有和等于 ${target} 的子集 res = ${JSON.stringify(res)}`);
|
||||
|
||||
export { };
|
||||
export {};
|
||||
|
||||
@ -56,4 +56,4 @@ const res = subsetSumII(nums, target);
|
||||
console.log(`输入数组 nums = ${JSON.stringify(nums)}, target = ${target}`);
|
||||
console.log(`所有和等于 ${target} 的子集 res = ${JSON.stringify(res)}`);
|
||||
|
||||
export { };
|
||||
export {};
|
||||
|
||||
@ -67,4 +67,4 @@ console.log(`尾递归函数的求和结果 res = ${res}`);
|
||||
res = fib(n);
|
||||
console.log(`斐波那契数列的第 ${n} 项为 ${res}`);
|
||||
|
||||
export { };
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user