<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[woailiyin的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/woailiyin</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; woailiyin]]></copyright><item><title><![CDATA[Surrounded Regions-leetcode]]></title><link>https://blog.csdn.net/woailiyin/article/details/27310101</link><guid>https://blog.csdn.net/woailiyin/article/details/27310101</guid><author>woailiyin</author><pubDate>Wed, 28 May 2014 09:51:46 +0800</pubDate><description><![CDATA[题目：


Given a 2D board containing 'X' and 'O',
 capture all regions surrounded by 'X'.

A region is captured by flipping all 'O's into 'X's
 in that surrounded region.

For example,

X X X ]]></description><category></category></item><item><title><![CDATA[leetcode题目：Sum Root to Leaf Numbers和Longest Consecutive Sequence]]></title><link>https://blog.csdn.net/woailiyin/article/details/26708733</link><guid>https://blog.csdn.net/woailiyin/article/details/26708733</guid><author>woailiyin</author><pubDate>Fri, 23 May 2014 15:19:35 +0800</pubDate><description><![CDATA[题目一：


Given a binary tree containing digits from 0-9 only, each root-to-leaf
 path could represent a number.

An example is the root-to-leaf path 1->2->3 which represents the number 123.

Fin]]></description><category></category></item><item><title><![CDATA[leetcode题目：Palindrome Partitioning 和Palindrome Partitioning II]]></title><link>https://blog.csdn.net/woailiyin/article/details/25724207</link><guid>https://blog.csdn.net/woailiyin/article/details/25724207</guid><author>woailiyin</author><pubDate>Tue, 13 May 2014 16:57:28 +0800</pubDate><description><![CDATA[题目一：


Given a string s, partition s such that every substring of the partition is a palindrome.

Return all possible palindrome partitioning of s.

For example, given s = "aab",
Return
  [
 ]]></description><category></category></item><item><title><![CDATA[leetcode题目：Clone Graph]]></title><link>https://blog.csdn.net/woailiyin/article/details/25398011</link><guid>https://blog.csdn.net/woailiyin/article/details/25398011</guid><author>woailiyin</author><pubDate>Fri, 09 May 2014 15:19:08 +0800</pubDate><description><![CDATA[题目：


Clone an undirected graph. Each node in the graph contains a label and
 a list of its neighbors.


OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separat]]></description><category></category></item><item><title><![CDATA[leetcode题目：Candy]]></title><link>https://blog.csdn.net/woailiyin/article/details/25217327</link><guid>https://blog.csdn.net/woailiyin/article/details/25217327</guid><author>woailiyin</author><pubDate>Wed, 07 May 2014 15:17:56 +0800</pubDate><description><![CDATA[题目：


There are N children standing in a line. Each child is assigned a rating value.

You are giving candies to these children subjected to the following requirements:

Each child must have at]]></description><category></category></item><item><title><![CDATA[leetcode题目：Single Number和Single Number II]]></title><link>https://blog.csdn.net/woailiyin/article/details/25216443</link><guid>https://blog.csdn.net/woailiyin/article/details/25216443</guid><author>woailiyin</author><pubDate>Wed, 07 May 2014 15:11:25 +0800</pubDate><description><![CDATA[题目：


Given an array of integers, every element appears twice except for one. Find that single one.

Note:
Your algorithm should have a linear runtime complexity. Could you implement it without ]]></description><category></category></item><item><title><![CDATA[leetcode题目：Copy List with Random Pointer]]></title><link>https://blog.csdn.net/woailiyin/article/details/25137517</link><guid>https://blog.csdn.net/woailiyin/article/details/25137517</guid><author>woailiyin</author><pubDate>Tue, 06 May 2014 16:04:32 +0800</pubDate><description><![CDATA[题目：


A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.

Return a deep copy of the list.
思路：
主要是深层复制的问题：
本题比较简]]></description><category></category></item><item><title><![CDATA[leetcode题目：Word Break和Word Break II]]></title><link>https://blog.csdn.net/woailiyin/article/details/25135853</link><guid>https://blog.csdn.net/woailiyin/article/details/25135853</guid><author>woailiyin</author><pubDate>Tue, 06 May 2014 15:59:22 +0800</pubDate><description><![CDATA[题目一：


Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.

For example, given
s = "leetcode",
dict]]></description><category></category></item><item><title><![CDATA[leetcode题目：Linked List Cycle和Linked List Cycle II]]></title><link>https://blog.csdn.net/woailiyin/article/details/25047559</link><guid>https://blog.csdn.net/woailiyin/article/details/25047559</guid><author>woailiyin</author><pubDate>Mon, 05 May 2014 14:34:51 +0800</pubDate><description><![CDATA[题目一：


Given a linked list, determine if it has a cycle in it.

Follow up:
Can you solve it without using extra space?
题目二：


Given a linked list, return the node where the cycle begins. If ]]></description><category></category></item><item><title><![CDATA[leetcode题目：Reorder List]]></title><link>https://blog.csdn.net/woailiyin/article/details/25031927</link><guid>https://blog.csdn.net/woailiyin/article/details/25031927</guid><author>woailiyin</author><pubDate>Mon, 05 May 2014 10:41:22 +0800</pubDate><description><![CDATA[题目：


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}, reord]]></description><category></category></item><item><title><![CDATA[leetcode题目：Binary Tree Preorder Traversal]]></title><link>https://blog.csdn.net/woailiyin/article/details/24998149</link><guid>https://blog.csdn.net/woailiyin/article/details/24998149</guid><author>woailiyin</author><pubDate>Sun, 04 May 2014 18:38:30 +0800</pubDate><description><![CDATA[题目：


Given a binary tree, return the preorder traversal of its nodes' values.

For example:
Given binary tree {1,#,2,3},

   1
    \
     2
    /
   3




return [1,2,3].

Note: Recursi]]></description><category></category></item><item><title><![CDATA[leetcode题目：Binary Tree Postorder Traversal]]></title><link>https://blog.csdn.net/woailiyin/article/details/24991537</link><guid>https://blog.csdn.net/woailiyin/article/details/24991537</guid><author>woailiyin</author><pubDate>Sun, 04 May 2014 17:10:33 +0800</pubDate><description><![CDATA[题目：


Given a binary tree, return the postorder traversal of its nodes' values.

For example:
Given binary tree {1,#,2,3},

   1
    \
     2
    /
   3




return [3,2,1].

Note: Recurs]]></description><category></category></item><item><title><![CDATA[leetcode题目：LRU Cache]]></title><link>https://blog.csdn.net/woailiyin/article/details/24977693</link><guid>https://blog.csdn.net/woailiyin/article/details/24977693</guid><author>woailiyin</author><pubDate>Sun, 04 May 2014 14:27:30 +0800</pubDate><description><![CDATA[题目：


Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.

get(key) - Get the value (will always be positive) of th]]></description><category></category></item><item><title><![CDATA[leetcode题目解答---Insertion Sort List]]></title><link>https://blog.csdn.net/woailiyin/article/details/24431617</link><guid>https://blog.csdn.net/woailiyin/article/details/24431617</guid><author>woailiyin</author><pubDate>Thu, 24 Apr 2014 19:37:10 +0800</pubDate><description><![CDATA[题目如下：
Sort a linked list using insertion sort.

使用插入排序法排列一个链表。]]></description><category></category></item><item><title><![CDATA[leetcode题目解答---- SortList]]></title><link>https://blog.csdn.net/woailiyin/article/details/24419777</link><guid>https://blog.csdn.net/woailiyin/article/details/24419777</guid><author>woailiyin</author><pubDate>Thu, 24 Apr 2014 17:33:51 +0800</pubDate><description><![CDATA[题目：
Sort a linked list in O(n log n)
 time using constant space complexity.

这题还是比较纠结的，因为对于时间he]]></description><category></category></item><item><title><![CDATA[leetcode题目解答--Max Points on a Line]]></title><link>https://blog.csdn.net/woailiyin/article/details/24368619</link><guid>https://blog.csdn.net/woailiyin/article/details/24368619</guid><author>woailiyin</author><pubDate>Wed, 23 Apr 2014 15:40:47 +0800</pubDate><description><![CDATA[题目见下：
Given n points
 on a 2D plane, find the maximum number of points that lie on the same straight line.

解析思路：
1）]]></description><category></category></item><item><title><![CDATA[leetcode题目--Evaluate Reverse Polish Notation 答案]]></title><link>https://blog.csdn.net/woailiyin/article/details/24314593</link><guid>https://blog.csdn.net/woailiyin/article/details/24314593</guid><author>woailiyin</author><pubDate>Tue, 22 Apr 2014 16:33:25 +0800</pubDate><description><![CDATA[题目见下：


Evaluate the value of an arithmetic expression in Reverse Polish Notation.

Valid operators are +, -, *, /.
 Each operand may be an integer or another expression.

Some examples:

  ]]></description><category></category></item><item><title><![CDATA[关于指针数组和数组指针的浅谈]]></title><link>https://blog.csdn.net/woailiyin/article/details/24306001</link><guid>https://blog.csdn.net/woailiyin/article/details/24306001</guid><author>woailiyin</author><pubDate>Tue, 22 Apr 2014 14:25:06 +0800</pubDate><description><![CDATA[在实际的运行情况下，非常容易对数组指针和指针数组进行混淆]]></description><category></category></item><item><title><![CDATA[leetcode题目--Reverse Words in a String解答]]></title><link>https://blog.csdn.net/woailiyin/article/details/24297451</link><guid>https://blog.csdn.net/woailiyin/article/details/24297451</guid><author>woailiyin</author><pubDate>Tue, 22 Apr 2014 11:06:23 +0800</pubDate><description><![CDATA[//题目内容
//]]></description><category></category></item></channel></rss>