摘要:
Given input array , Your function should return length = 2, with the first two elements of nums being 2. 就是把不是3的元素往前移动至队首,再返回不是3的元素个数. $O(n)$ time, $O 阅读全文
摘要:
Author: Zhong Liang Xiang Start from: August 7th, 2017 这个题为 连滚带爬的Leetcode填坑记录 就这么开始了. 网上看了看, 一堆小伙从2014年就开始弄这个东西了,可自己那时候也不知道整这个东西啊. 啥也不说了,开整吧. 本系列,就是我自 阅读全文