<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[marshallou的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/marshallou</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; marshallou]]></copyright><item><title><![CDATA[Bit manipulation]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/38027509</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/38027509</guid><author>marshallou</author><pubDate>Tue, 22 Jul 2014 01:46:52 +0800</pubDate><description><![CDATA[1. clear the n rightmost bits of x:
x & (~0]]></description><category></category></item><item><title><![CDATA[career cup:3.4 tower of hanoi]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37925873</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37925873</guid><author>marshallou</author><pubDate>Fri, 18 Jul 2014 11:43:31 +0800</pubDate><description><![CDATA[1. represent of hanoi: choice between LinkedList, Stack, ArrayList, Array
(1) one tower can be represented by LinkedList or Stack. LinkedList has more function and it's easier to copy the tower. We n]]></description><category></category></item><item><title><![CDATA[inner class, static nested class]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37920879</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37920879</guid><author>marshallou</author><pubDate>Fri, 18 Jul 2014 05:35:54 +0800</pubDate><description><![CDATA[Nested classes are divided into two categories: static and non-static. Nested classes that are declared static are simply called static nested classes. Non-static nested classes are called inner class]]></description><category></category></item><item><title><![CDATA[career cup: 1.6 and 1.7 and 2]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37868795</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37868795</guid><author>marshallou</author><pubDate>Wed, 16 Jul 2014 15:46:22 +0800</pubDate><description><![CDATA[1. for matrix[][]]]></description><category></category></item><item><title><![CDATA[java tips]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37846589</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37846589</guid><author>marshallou</author><pubDate>Wed, 16 Jul 2014 01:17:54 +0800</pubDate><description><![CDATA[1. if(find = true) // this  sentence is always true, if(find = = true) is the right way
2. ArrayList uses size(), not length()
    Array uses length(field, not method length())
    String uses leng]]></description><category></category></item><item><title><![CDATA[Leetcode 2: reverse polish notation]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37816009</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37816009</guid><author>marshallou</author><pubDate>Tue, 15 Jul 2014 15:06:45 +0800</pubDate><description><![CDATA[1. use stack, push it]]></description><category></category></item><item><title><![CDATA[career cup1.1 unique char]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37814745</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37814745</guid><author>marshallou</author><pubDate>Tue, 15 Jul 2014 14:11:47 +0800</pubDate><description><![CDATA[1. Hash map initialization is like this:
HashMap map = new HashMap();
K,V can only be class type, not primitive. So when you want to use int or char, use Integer and Character instead.
Converting f]]></description><category></category></item><item><title><![CDATA[array of LinkedList]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37734097</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37734097</guid><author>marshallou</author><pubDate>Sun, 13 Jul 2014 05:33:09 +0800</pubDate><description><![CDATA[1. you can not create an array of ArrayList, because array can not hold any generic type. You can only use primitev]]></description><category></category></item><item><title><![CDATA[Java Details: mod and %]]></title><link>https://blog.youkuaiyun.com/marshallou/article/details/37717701</link><guid>https://blog.youkuaiyun.com/marshallou/article/details/37717701</guid><author>marshallou</author><pubDate>Sat, 12 Jul 2014 03:00:02 +0800</pubDate><description><![CDATA[Careful with the terms mod and modular because n (mod m) IS ALWAYS >= 0 but not n % m. n % m
 is in the range > -m and < m. Although Java has a remainder operator for int and long types, it has no mo]]></description><category></category></item></channel></rss>