<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[kevinzhou93的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/kevinzhou93</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; kevinzhou93]]></copyright><item><title><![CDATA[[LeetCode]Maximum Depth of Binary Tree]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45625235</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45625235</guid><author>kevinzhou93</author><pubDate>Sun, 10 May 2015 20:59:11 +0800</pubDate><description><![CDATA[Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.首先，根据深度优先搜索的思路，用递归来做java code如下public int m]]></description><category></category></item><item><title><![CDATA[[LeetCode]Valid Sudoku]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45601435</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45601435</guid><author>kevinzhou93</author><pubDate>Sat, 09 May 2015 15:01:38 +0800</pubDate><description><![CDATA[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 partially filled sudoku whic]]></description><category></category></item><item><title><![CDATA[[LeetCode] Valid parentheses]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45487327</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45487327</guid><author>kevinzhou93</author><pubDate>Mon, 04 May 2015 22:15:54 +0800</pubDate><description><![CDATA[Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.The brackets must close in the correct order, “()” and “()[]{}” are all valid but “]]></description><category></category></item><item><title><![CDATA[[LeetCode] Remove Linked List Elements]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45462925</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45462925</guid><author>kevinzhou93</author><pubDate>Sun, 03 May 2015 22:58:06 +0800</pubDate><description><![CDATA[Remove all elements from a linked list of integers that have value val.Example 
Given: 1 –> 2 –> 6 –> 3 –> 4 –> 5 –> 6, val = 6 
Return: 1 –> 2 –> 3 –> 4 –> 5java code/**
 * Definition for singly-linke]]></description><category></category></item><item><title><![CDATA[[LeetCode]Roman to Integer]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45293015</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45293015</guid><author>kevinzhou93</author><pubDate>Sun, 26 Apr 2015 21:46:02 +0800</pubDate><description><![CDATA[guarantee了输入，简单好多 = = ruby code实现如下# @param {String} s
# @return {Integer}
def roman_to_int(s)
    symbols = {"I" => 1, "V" => 5, "X" => 10, "L" => 50, "C" => 100, "D" => 500, "M" => 1000}
    result =]]></description><category></category></item><item><title><![CDATA[LeetCode - StringToInteger - java]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45195901</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45195901</guid><author>kevinzhou93</author><pubDate>Wed, 22 Apr 2015 15:36:35 +0800</pubDate><description><![CDATA[基本在submit， 修改，submit，修改……public int myAtoi(String str) {
        str = str.trim();
        int n = str.length();
        if (n == 0) return 0;
        char firstChar = str.charAt(0);
        if(firstCh]]></description><category></category></item><item><title><![CDATA[记录下自己拙计的算法之旅  LeetCode  Rotate Array]]></title><link>https://blog.csdn.net/kevinzhou93/article/details/45013815</link><guid>https://blog.csdn.net/kevinzhou93/article/details/45013815</guid><author>kevinzhou93</author><pubDate>Sun, 12 Apr 2015 20:56:56 +0800</pubDate><description><![CDATA[记录下自己拙计的算法之旅LeetCode  
Rotate Arraydef rotate(nums, k)
    num_cp = nums.clone
    pos = k % nums.length
    start_pos = 0
    nums.length.times do
    nums[pos] = num_cp[start_pos]
    start_pos += 1]]></description><category></category></item></channel></rss>