- 博客(16)
- 收藏
- 关注
原创 98. Validate Binary Search Tree--key
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only nodes with keys less than the node's key.Th
2016-12-20 11:11:00 217
原创 leetcode note--leetcode 16 3Sum Closest
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exact
2016-12-13 21:17:45 249
原创 leetcode note--leetcode 26 Remove Duplicates from Sorted Array
26. Remove Duplicates from Sorted Array Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 180078Total Submissions: 512641Difficulty: EasyContrib
2016-12-07 22:17:05 229
原创 leetcode note--leetcode 141 Linked List Cycle
141. Linked List Cycle Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 145611Total Submissions: 405510Difficulty: EasyContributors: Admin
2016-12-07 20:02:04 238
原创 leetcode note--leetcode 11 Container With Most Water
11. Container With Most Water Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 106358Total Submissions: 295648Difficulty: MediumContributors: A
2016-12-07 18:59:35 172
原创 leetcode note--leetcode 75 Sort Colors
75. Sort Colors Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 130857Total Submissions: 358728Difficulty: MediumContributors: AdminGi
2016-12-05 15:56:21 321
原创 leetcode note--leetcode 27 Remove Element
27. Remove Element Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 159692Total Submissions: 436588Difficulty: EasyContributors: AdminG
2016-12-05 11:52:13 173
原创 leetcode note--leetcode 345 Reverse Vowels of a String
345. Reverse Vowels of a String Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 55543Total Submissions: 150293Difficulty: EasyContributors: Admin
2016-12-05 00:48:53 271
原创 leetcode note--leetcode 287 Find the Duplicate Number
287. Find the Duplicate Number Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. Ass
2016-12-02 14:58:51 199
原创 leetcode note--leetcode 350 Intersection of Two Arrays II
350. Intersection of Two Arrays II Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 43789Total Submissions: 101360Difficulty: EasyContributors:
2016-12-02 11:42:10 166
原创 leetcode note--leetcode 349 Intersection of Two Arrays
349. Intersection of Two Arrays Add to ListQuestionEditorial Solution My SubmissionsTotal Accepted: 61738Total Submissions: 136271Difficulty: EasyContributors: Ad
2016-12-02 11:22:01 201
原创 leetcode note--leetcode 344 Reverse String
344. Reverse String Write a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh".Subscribe to see which companies
2016-12-02 10:37:44 181
原创 leetcode note--leetcode 283. Move Zeroes
283. Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.For example, given nums = [0, 1, 0,
2016-12-01 20:41:51 366
原创 leetcode note--leetcode 167 Two Sum II - Input array is sorted
167. Two Sum II - Input array is sortedGiven an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.The
2016-12-01 15:56:35 371
原创 Leetcode note--Leetcode 169Majority Element
169. Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the a
2016-12-01 15:13:13 211
原创 Leetcode note--Leetcode 70climbing Stairs
70. Climbing Stairs My SubmissionsTotal Accepted: 143040Total Submissions: 372276Difficulty: EasyContributors: AdminYou are climbing a stair case. It takes n steps to reach
2016-12-01 13:16:35 316
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人