- 博客(3)
- 收藏
- 关注
原创 《leetcode-php》获取数组中只出现一次的数字,其他的出现2次
Given an array of integers, every element appearstwiceexcept for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extr...
2019-02-28 09:29:50 303
原创 《leetcode-php》数组中找唯一出现一次的数字,其他出现三次
Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without usin...
2019-02-28 09:26:09 493
原创 《leetCode-php》深拷贝带随机指针的链表
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null. Return a deep copy of the list. 深拷贝一个链表,这个链表除了一个next指针外,还包含一个rando...
2019-02-27 09:32:27 184
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人