雷中曲
雷中曲
全部文章
题解
未归档(2)
归档
标签
去牛客网
登录
/
注册
雷中曲的博客
全部文章
/ 题解
(共36篇)
题解 | #乘法#
function multiply(a, b) { // 1.先将两个数转成字符串 let str1 = a.toString() &...
2021-07-13
3
493
题解 | #查找元素位置#
function findAllOccurrences(arr, target) { const res = [] arr.forE...
2021-07-13
1
403
题解 | #求二次方#
function square(arr) { const newArray = [] arr.forEach(v => { &n...
2021-07-13
0
383
题解 | #添加元素#
/* 1.使用for循环和push方法 */ function append(arr, item) { const res = [] &...
2021-07-03
54
1065
题解 | #添加元素#
function insert(arr, item, index) { const newArr ...
2021-07-01
3
502
题解 | #字符串字符统计#
function count(str) { const obj = {} &nbs...
2021-07-01
2
557
首页
上一页
1
2
3
4
下一页
末页