- 博客(4)
- 收藏
- 关注
原创 leetcode137. Single Number II
链接:https://leetcode.com/problems/single-number-ii/ 题目: Given an array of integers, every element appears three times except for one. Find that single one.Note: Your algorithm should have a linear r
2016-06-17 18:51:54 234
原创 leetcode-230. Kth Smallest Element in a BST
链接:https://leetcode.com/problems/kth-smallest-element-in-a-bst/ 题目: Given a binary search tree, write a function kthSmallest to find the kth smallest element in it.Note: You may assume k is always v
2016-06-15 20:31:26 256
原创 leetcode-328. Odd Even Linked List
链接:https://leetcode.com/problems/odd-even-linked-list/ 题目: Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number a
2016-06-10 21:35:53 425
原创 leetcode318-Maximum Product of Word Lengths
链接:https://leetcode.com/problems/maximum-product-of-word-lengths/ 题目: Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common
2016-06-03 19:23:25 911
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人