首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
半事无意
获赞
17
粉丝
3
关注
4
看过 TA
232
华中科技大学
2024
前端工程师
IP属地:湖北
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑半事无意吗?
发布(41)
刷题
半事无意
01-16 17:04
华中科技大学 计算机类
中证登(深分)二面
有没有uu知道中证登(中国结算)二面问啥啊,可不可以分享下经验
0
点赞
评论
收藏
转发
半事无意
2023-10-07 14:21
华中科技大学 计算机类
不是硕士招不起,只是本科更有性价比
双9计算机硕士,说好磨刀不误砍柴工,读完硕士再打工。读了三年找不到工作了,不如当初本科毕业直接上班😥
0
点赞
评论
收藏
转发
半事无意
2023-09-27 16:32
华中科技大学 计算机类
题解 | #不用加减乘除做加法#
function Add(num1, num2) { if(num2===0) return num1 let sum = num1^num2 let carry = (num1&num2)<<1 return Add(sum,carry) } module.exports = { Add : Add };
0
点赞
评论
收藏
转发
半事无意
2023-09-27 16:16
华中科技大学 计算机类
题解 | #跳台阶#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param number int整型 * @return int整型 */ function jumpFloor( number ) { // write code here let dp = [] dp[1] = 1 dp[2] = 2 for(let i=3;i<=number;i++){ dp[i]=dp[i-1]+dp[i-2] } return dp[number] } module.expo...
0
点赞
评论
收藏
转发
半事无意
2023-09-27 16:15
华中科技大学 计算机类
题解 | #买卖股票的最好时机(一)#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param prices int整型一维数组 * @return int整型 */ function max(a,b){ return a>b?a:b } function min(a,b){ return a>b?b:a } function maxProfit( prices ) { let res = 0 if(prices.length===0) return res let mina = prices[0] ...
0
点赞
评论
收藏
转发
半事无意
2023-09-25 19:13
华中科技大学 计算机类
题解 | #二叉搜索树的后序遍历序列#
function check(sequence,l,r){ if(l>=r) return true let root = sequence[r] let j = r-1 while(j>=0&&sequence[j]>root) j-- for(let i=l;i<=j;i++){ if(sequence[i]>root) return false } return check(sequence,l,j)&&check(sequence,j+1,r-1) } ...
0
点赞
评论
收藏
转发
半事无意
2023-09-14 20:11
华中科技大学 计算机类
淘天前端一面
项目上的事问的挺多的1.说一下commonJs和ES62.vue的生命周期,为什么有这个设计3.讲一讲小程序和web端开发的区别4.深拷贝和浅拷贝,js为什么会出现这个问题5.说一下webpack6.说一下array的sort方法7.讲一下快排原理和时间复杂度8.了解过哪些前端框架,谈一谈9.了解微内核宏内核吗10.介绍一下SVM原理(支持向量机)11.settimeout运行时间和实际时间有些出入,为什么12.说一下diff算法13.了解eventloop吗 #淘天面经# 八股没怎么准备,应该是凉了😭
投递淘天集团等公司10个岗位
0
点赞
评论
收藏
转发
半事无意
2023-09-11 11:34
华中科技大学 计算机类
题解 | #从上往下打印二叉树#
/* function TreeNode(x) { this.val = x; this.left = null; this.right = null; } */ function PrintFromTopToBottom(root) { let res = []; if (root === null) return res; let queue = [root]; while (queue.length > 0) { let node = queue.shift(); if (node !== ...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 11:23
华中科技大学 计算机类
题解 | #栈的压入、弹出序列#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pushV int整型一维数组 * @param popV int整型一维数组 * @return bool布尔型 */ function IsPopOrder(pushV, popV) { if (pushV.length === 0 || popV.length === 0) return false; let stack = []; let popIndex = 0; for (let i = 0; i < pushV.len...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 11:02
华中科技大学 计算机类
题解 | #包含min函数的栈#
let stack = [] function push(node) { stack.push(node) } function pop() { if(stack.length===0) return false return stack.pop() } function top() { if(stack.length===0) return false return stack[stack.length-1] } function min() { if(stack.length===0) return false l...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 10:54
华中科技大学 计算机类
题解 | #顺时针打印矩阵#
function print(left, right, top, bottom, matrix, res) { if (left > right || top > bottom) return; for (let i = left; i <= right; i++) res.push(matrix[top][i]); top++; for (let i = top; i <= bottom; i++) res.push(matrix[i][right]); right--; if (top <= bottom)...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 10:26
华中科技大学 计算机类
题解 | #对称的二叉树#
/* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pRoot TreeNode类 * @return bool布尔型 */ function compare(a, b) { if (a === null && b === null) return true; if (a === nul...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 10:08
华中科技大学 计算机类
题解 | #二叉树的镜像#
/* * function TreeNode(x) { * this.val = x; * this.left = null; * this.right = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param pRoot TreeNode类 * @return TreeNode类 */ function Mirror( pRoot ) { if(pRoot===null) return pRoot let temp = pRoot.left p...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 00:21
华中科技大学 计算机类
题解 | #正则表达式匹配#
/** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param str string字符串 * @param pattern string字符串 * @return bool布尔型 */ function match(str, pattern) { if (pattern === ''&&str === '') { return true; } const firstMatch = (str !== '') && (str[0] === pattern[0] ...
0
点赞
评论
收藏
转发
半事无意
2023-09-11 00:19
华中科技大学 计算机类
题解 | #删除链表的节点#
/* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param head ListNode类 * @param val int整型 * @return ListNode类 */ function deleteNode( head , val ) { var p =head while(head){ if(head.val === val){ ...
0
点赞
评论
收藏
转发
1
2
3
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务