- 博客(4)
- 收藏
- 关注
原创 leetcode--217&219&220 Contains Duplicate(重复)I&II&III
一、217 Contains Duplicate Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return
2015-06-30 20:24:54 651
原创 leetcode-56&88 Merge Intervals && Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note: You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional
2015-06-09 17:15:28 427
原创 leetcode-20 Valid Parentheses
Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.The brackets must close in the correct order, “()” and “()[]{}” are all valid but “
2015-06-03 16:02:53 405
原创 leetcode--19 Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.For example,Given linked list: 1->2->3->4->5, and n = 2.After removing the second node from the end, the linked list be
2015-06-02 18:56:16 364
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人