mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08:00
Remove function comment
This commit is contained in:
@ -4,11 +4,6 @@
|
|||||||
* Author: gyt95 (gytkwan@gmail.com)
|
* Author: gyt95 (gytkwan@gmail.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {number[]} nums
|
|
||||||
* @param {number} target
|
|
||||||
* @return {number[]}
|
|
||||||
*/
|
|
||||||
function twoSumBruteForce(nums, target) {
|
function twoSumBruteForce(nums, target) {
|
||||||
let n = nums.length;
|
let n = nums.length;
|
||||||
// 两层循环,时间复杂度 O(n^2)
|
// 两层循环,时间复杂度 O(n^2)
|
||||||
|
|||||||
Reference in New Issue
Block a user