- 博客(6)
- 收藏
- 关注
原创 LeetCode-17. Letter Combinations of a Phone Number
17.Letter Combinations of a Phone Number Medium 2516330FavoriteShare Given a string containing digits from2-9inclusive, return all possible letter combinations that the number could represent. ...
2019-08-31 20:23:07 160
原创 LeetCode-19. Remove Nth Node From End of List
19.Remove Nth Node From End of List Medium 2066155FavoriteShare Given a linked list, remove then-th node from the end of list and return its head. Example: Given linked list: 1->2->3->...
2019-08-27 00:02:27 99
原创 LeetCode-146. LRU Cache(双向链表 + 哈希表)
146.LRU Cache Medium 3402127FavoriteShare Design and implement a data structure forLeast Recently Used (LRU) cache. It should support the following operations:getandput. get(key)- Get the va...
2019-08-24 23:08:19 150
原创 守护进程之单实例守护进程
先贴代码: #include <stdio.h> #include <string.h> #include <sys/types.h> /* about files */ #include <sys/stat.h> #include <sys/file.h> #include <fcntl.h> #include ...
2019-08-22 11:24:21 173
原创 LeetCode-122. Best Time to Buy and Sell Stock II
122.Best Time to Buy and Sell Stock II Easy 11421359FavoriteShare Say you have an array for which theithelement is the price of a given stock on dayi. Design an algorithm to find the maximum p...
2019-08-03 11:06:50 93
原创 LeetCode-121. Best Time to Buy and Sell Stock
121.Best Time to Buy and Sell Stock Easy 2881136FavoriteShare Say you have an array for which theithelement is the price of a given stock on dayi. If you were only permitted to complete at mos...
2019-08-01 23:05:21 84
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人