
LeetCode
19951211丶
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode oj 338. Counting Bits(DP)
338. Counting Bits QuestionEditorial Solution My Submissions Total Accepted: 46702 Total Submissions: 79672 Difficulty: Medium Given a non negative integer number num. For every numbers i in the r原创 2016-09-26 22:21:40 · 410 阅读 · 0 评论 -
LeetCode oj 349. Intersection of Two Arrays(HashSet)
349. Intersection of Two Arrays Question Editorial Solution My Submissions Total Accepted: 52852Total Submissions: 118189Difficulty: EasyContributors: Admin Given two原创 2016-10-14 19:58:07 · 377 阅读 · 0 评论 -
LeetCode oj 409. Longest Palindrome (回文串)
409. Longest Palindrome Question Editorial Solution My Submissions Total Accepted: 7696Total Submissions: 17179Difficulty: EasyContributors: Admin Given a string which原创 2016-10-14 20:23:14 · 546 阅读 · 0 评论 -
LeetCode oj 389. Find the Difference(Hash)
389. Find the Difference Question Editorial Solution My Submissions Total Accepted: 22851Total Submissions: 46129Difficulty: Easy Given two strings s and t which consi原创 2016-09-29 23:08:35 · 588 阅读 · 0 评论 -
LeetCode oj 226. Invert Binary Tree (DFS||BFS)
226. Invert Binary Tree Question Editorial Solution My Submissions Total Accepted: 124813Total Submissions: 257083Difficulty: Easy Invert a binary tree. 4 / \原创 2016-10-04 18:59:10 · 611 阅读 · 0 评论 -
LeetCode oj 167. Two Sum II - Input array is sorted (双指针)
167. Two Sum II - Input array is sorted Question Editorial Solution My Submissions Total Accepted: 29576Total Submissions: 61336Difficulty: Medium Given an array of in原创 2016-10-05 19:01:33 · 1085 阅读 · 0 评论 -
LeetCode oj 260. Single Number III (位运算)
260. Single Number III Question Editorial Solution My Submissions Total Accepted: 49443Total Submissions: 103739Difficulty: Medium Given an array of numbers nums, in w原创 2016-10-05 20:17:32 · 483 阅读 · 0 评论 -
LeetCode oj 283. Move Zeroes (选择排序)
283. Move Zeroes Question Editorial Solution My Submissions Total Accepted: 122129Total Submissions: 262841Difficulty: Easy Given an array nums, write a function to原创 2016-10-05 20:58:17 · 410 阅读 · 0 评论 -
LeetCode oj 404. Sum of Left Leaves (DFS||BFS)
404. Sum of Left Leaves Question Editorial Solution My Submissions Total Accepted: 8223Total Submissions: 17874Difficulty: Easy Find the sum of all left leaves in a gi原创 2016-10-06 13:33:06 · 773 阅读 · 0 评论 -
LeetCode oj 237. Delete Node in a Linked List (链表)
237. Delete Node in a Linked List Question Editorial Solution My Submissions Total Accepted: 111980Total Submissions: 249417Difficulty: EasyContributors: Admin Write a原创 2016-10-14 19:07:08 · 517 阅读 · 0 评论 -
LeetCode oj 383. Ransom Note(哈希)
383. Ransom Note Question Editorial Solution My Submissions Total Accepted: 23593Total Submissions: 52194Difficulty: EasyContributors: Admin Given an arbitrary ran原创 2016-10-14 18:24:24 · 2461 阅读 · 0 评论 -
LeetCode oj 104. Maximum Depth of Binary Tree(DFS||BFS)
104. Maximum Depth of Binary Tree Question Editorial Solution My Submissions Total Accepted: 179819Total Submissions: 361510Difficulty: Easy Given a binary tree, find原创 2016-09-29 02:34:32 · 627 阅读 · 0 评论 -
LeetCode oj 344. Reverse String(字符串)
344. Reverse String Question Editorial Solution My Submissions Total Accepted: 90670Total Submissions: 156010Difficulty: Easy Write a function that takes a string as i原创 2016-09-27 18:56:58 · 346 阅读 · 0 评论 -
LeetCode oj 292. Nim Game(尼姆博奕)
292. Nim Game Question Editorial Solution My Submissions Total Accepted: 100010Total Submissions: 184472Difficulty: Easy You are playing the following Nim Game with yo原创 2016-09-27 19:13:27 · 589 阅读 · 0 评论 -
LeetCode oj 392. Is Subsequence (字符串)
392. Is Subsequence Question Editorial Solution My Submissions Total Accepted: 11558Total Submissions: 26312Difficulty: MediumContributors: Admin Given a string s and原创 2016-10-13 14:00:48 · 343 阅读 · 0 评论 -
LeetCode oj 238. Product of Array Except Self (思维)
238. Product of Array Except Self Question Editorial Solution My Submissions Total Accepted: 65971Total Submissions: 144366Difficulty: MediumContributors: Admin Given原创 2016-10-13 21:33:31 · 381 阅读 · 0 评论 -
LeetCode oj 406. Queue Reconstruction by Height(优先队列)
406. Queue Reconstruction by Height Question Editorial Solution My Submissions Total Accepted: 1911Total Submissions: 3604Difficulty: Medium Suppose you have a random原创 2016-09-28 16:31:05 · 791 阅读 · 0 评论 -
LeetCode oj 371. Sum of Two Integers(位运算)
371. Sum of Two Integers Question Editorial Solution My Submissions Total Accepted: 37210Total Submissions: 71785Difficulty: Easy Calculate the sum of two integers a a原创 2016-09-29 01:20:45 · 545 阅读 · 0 评论 -
LeetCode oj 136. Single Number (位运算)
136. Single Number Question Editorial Solution My Submissions Total Accepted: 158682Total Submissions: 306217Difficulty: Easy Given an array of integers, every element原创 2016-09-29 01:32:46 · 518 阅读 · 0 评论 -
LeetCode oj 258. Add Digits(数字根)
258. Add Digits Question Editorial Solution My Submissions Total Accepted: 127957Total Submissions: 257201Difficulty: Easy Given a non-negative integer num, repeatedly原创 2016-09-29 01:50:49 · 454 阅读 · 0 评论 -
LeetCode oj 515. Find Largest Value in Each Tree Row(DFS||BFS)
515. Find Largest Value in Each Tree Row Add to List Description Submission Solutions Total Accepted: 3223Total Submissions: 6121Difficulty: MediumContributors: love_FDU_llp原创 2017-02-18 11:12:28 · 631 阅读 · 0 评论