Spurs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年8月21日

摘要: Given an unsorted integer array, find the first missing positive integer. For example , Your algorithm should run in $O(n)$ time and uses constant spa 阅读全文
posted @ 2017-08-21 18:19 英雄与侠义的化身 阅读(105) 评论(0) 推荐(0) 编辑

摘要: Given an array of integers, (n = size of array), some elements appear twice and others appear once . Find all the elements that appear twice in this a 阅读全文
posted @ 2017-08-21 11:55 英雄与侠义的化身 阅读(114) 评论(0) 推荐(0) 编辑