首页
题库
面试
求职
学习
竞赛
More+
所有博客
搜索面经/职位/试题/公司
搜索
我要招人
去企业版
登录 / 注册
_And_
武汉大学
2019届
Java工程师
关注
私信
加入黑名单
举报TA
首页
刷题
圈子
项目
笔记
基本资料
真题试卷
在线编程
心理测试
回答的问题(4)
用两个栈实现队列
0
let stack1 = [], stack2 = []; function push(node) { // write code here stack1.push(node); return stack1.length; } function pop() { // ...
发表于 2020-02-18 23:32:49
链表中倒数第k个结点
0
function FindKthToTail(head, k) { // write code here if (k<=0){ return null; } var arr = []; while(head!=null){ ...
发表于 2018-09-23 10:31:23
用JavaScript脚本为Array对象添加一个去除重复项的方法。
0
arr.filter((ele,index,arr)=> {return index == arr.indexOf(ele);})
发表于 2018-05-21 11:32:14
斐波那契数列
0
递归 public class Solution { public int Fibonacci(int n) { if(n==0) return 0; else if(n==1||n==2) return...
发表于 2018-04-04 15:10:41
扫描二维码,关注牛客网
意见反馈
下载牛客APP,随时随地刷题