- 博客(7)
- 收藏
- 关注
原创 LeetCode 448. Find All Numbers Disappeared in an Array
原题网址:https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once.
2017-01-07 02:21:11 837
原创 LeetCode 460. LFU Cache
原题网址:https://leetcode.com/problems/lfu-cache/Design and implement a data structure for Least Frequently Used (LFU) cache. It should support the following operations: getand put.get(key) -
2017-01-06 05:34:25 1656
原创 LeetCode 451. Sort Characters By Frequency
原题网址:https://leetcode.com/problems/sort-characters-by-frequency/Given a string, sort it in decreasing order based on the frequency of characters.Example 1:Input:"tree"Output:"eert"Ex
2017-01-04 09:46:43 989
原创 LeetCode 445. Add Two Numbers II
原题网址:https://leetcode.com/problems/add-two-numbers-ii/You are given two linked lists representing two non-negative numbers. The most significant digit comes first and each of their nodes contain
2017-01-04 09:33:07 882
原创 LeetCode 396. Rotate Function
原题网址:https://leetcode.com/problems/rotate-function/Given an array of integers A and let n to be its length.Assume Bk to be an array obtained by rotating the array A k positions clock-wise,
2017-01-04 09:06:31 557
原创 LeetCode 450. Delete Node in a BST
原题网址:https://leetcode.com/problems/delete-node-in-a-bst/Given a root node reference of a BST and a key, delete the node with the given key in the BST. Return the root node reference (possibly up
2017-01-04 08:36:18 946
原创 LeetCode 449. Serialize and Deserialize BST
原题网址:https://leetcode.com/problems/serialize-and-deserialize-bst/Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file
2017-01-04 06:39:45 816
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人