首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
good睡眠
获赞
0
粉丝
0
关注
5
看过 TA
1
The University of Sydney
2024
安卓
IP属地:湖北
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑good睡眠吗?
发布(5)
评论
刷题
收藏
good睡眠
关注TA,不错过内容更新
关注
2024-04-10 22:07
The University of Sydney 安卓
题解 | #判断是否包含数字#
function containsNumber(str) { let a = /[0-9]+/g; if(a.test(str)){ return true; }else{ return false }; }
0
点赞
评论
收藏
分享
2024-04-10 21:54
The University of Sydney 安卓
题解 | #二进制转换#
function convertToBinary(num) { let newnum = num.toString(2); let length = num.toString(2).length; let a; if(length < 8){ a = 8 - length; let b = new Array(a); return b.fill(0).join() + newnum; } return newnum; }
0
点赞
评论
收藏
分享
2023-08-30 21:53
The University of Sydney 安卓
题解 | #dom 节点查找#
function commonParentNode(oNode1, oNode2) { if(oNode1.contains(oNode2)){ return oNode1; }else{ return commonParentNode(oNode1.parentNode,oNode2); } }
0
点赞
评论
收藏
分享
2023-08-08 11:21
The University of Sydney 安卓
题解 | #回文字符串#
const _isPalindrome = string => { // 补全代码 let a = [...string]; let b = [...string]; for(let e in a){ if(e = b.pop){ return true; } return false; ...
0
点赞
评论
收藏
分享
2023-07-05 20:58
The University of Sydney 安卓
题解 | #相同的Set#
const _isSameSet = (s1, s2) => { for(let i = 0; i <s1.length; i++){ if( !s2.indexOf(s1[i])) return false; } return true; }
0
点赞
评论
收藏
分享
1
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务