笔试
ov大鱼vo
我们的远方是星辰大海
展开
-
网易2018校园招聘编程题
[编程题] 魔法币时间限制:1秒空间限制:32768K小易准备去魔法王国采购魔法神器,购买魔法神器需要使用魔法币,但是小易现在一枚魔法币都没有,但是小易有两台魔法机器可以通过投入x(x可以为0)个魔法币产生更多的魔法币。魔法机器1:如果投入x个魔法币,魔法机器会将其变为2x+1个魔法币魔法机器2:如果投入x个魔法币,魔法机器会将其变为2x+2个魔法币小易采购魔法神器总共需要原创 2017-10-28 21:49:04 · 807 阅读 · 0 评论 -
LeetCode 27. Remove Element
分析难度 易来源https://leetcode.com/problems/remove-element/description/题目Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extr...原创 2018-10-14 20:21:46 · 74 阅读 · 0 评论