
leetCode
偷嘴的小猴子
这个作者很懒,什么都没留下…
展开
-
leetCode OJ 第二题
leetCode OJ 第二题 python解答原创 2016-02-28 18:21:59 · 516 阅读 · 0 评论 -
LeetCode OJ 第一题
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution. Example: Given nums =原创 2016-04-28 19:54:53 · 351 阅读 · 0 评论 -
LeetCode OJ 第3题
Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", whic原创 2016-04-28 21:05:47 · 372 阅读 · 0 评论 -
leetcode Remove Duplicates from Sorted Array
26. Remove Duplicates from Sorted Array Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for原创 2016-05-21 21:54:32 · 334 阅读 · 0 评论 -
leetcode -Remove Element
27. Remove Element Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you must do this in place with c原创 2016-05-21 23:19:07 · 330 阅读 · 0 评论