![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
文章平均质量分 74
IceStormSpirit
当你还不能写出自己满意的程序时,你就不要去睡觉。
展开
-
LeetCode 3Sum
Q:Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:Elements in a triple原创 2014-05-15 15:17:21 · 493 阅读 · 0 评论 -
LeetCode Valid Sudoku
Q:Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.A partial原创 2014-07-22 21:50:09 · 442 阅读 · 0 评论 -
LeetCode Remove Nth Node From End of List
Q:Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the en原创 2014-07-18 14:56:14 · 515 阅读 · 0 评论 -
LeetCode Palindrome Number
Q:Determine whether an integer is a palindrome. Do this without extra space.原创 2014-07-18 15:07:03 · 576 阅读 · 0 评论 -
LeetCode Roman to Integer && Integer to Roman
Roman to Integer原创 2014-06-25 09:43:03 · 605 阅读 · 0 评论 -
LeetCode Reorder List
Q:Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given {1,2,3,4}, reorde原创 2014-05-20 21:11:24 · 631 阅读 · 0 评论 -
LeetCode Linked List Cycle && Linked List CycleII
Linked List Cycle原创 2014-05-13 15:02:27 · 559 阅读 · 0 评论 -
Leet Code LRU Cache
首先w什么是LRU算法? LRU是Least Recently Used的缩写,即最少使用页面置换算法,是为虚拟页式存储管理服务的。原创 2014-05-15 14:56:40 · 743 阅读 · 0 评论 -
LeetCode String to Integer (atoi)
Q:自己实现一个atoi函数这题k原创 2014-05-15 15:05:29 · 498 阅读 · 0 评论 -
LeetCode Max Points on a Line
Q:Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.hao原创 2014-05-15 16:03:27 · 503 阅读 · 0 评论 -
LeetCode Pow(x, n)
Q: Implement pow(x, n).原创 2014-06-19 09:23:46 · 534 阅读 · 0 评论