摘要: Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti 阅读全文
posted @ 2014-11-29 13:06 Grandyang 阅读(16676) 评论(7) 推荐(0)
摘要: Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each inp 阅读全文
posted @ 2014-11-29 10:43 Grandyang 阅读(160631) 评论(32) 推荐(14)
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes conta 阅读全文
posted @ 2014-11-29 05:57 Grandyang 阅读(54397) 评论(8) 推荐(2)
Fork me on GitHub