Tag Archives: bookmark

good code to study – common.apache.org.StringUtils

http://commons.apache.org/lang/api-2.5/org/apache/commons/lang/StringUtils.html#replaceEach%28java.lang.String,%20java.lang.String%5B%5D,%20java.lang.String%5B%5D%29   my code:   String[] searchList = new String[]    {            “/”, “\\”, “.”, “!”, “;”, “,” //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$//$NON-NLS-4$//$NON-NLS-5$//$NON-NLS-6$    };     String[] replacer = new String[searchList.length];    Arrays.fill( replacer, “_” ); //$NON-NLS-1$    resultSetName = StringUtils.replaceEach( resultSetName, searchList, replacer );

Posted in Uncategorized | Tagged | Leave a comment

javascript design pattern

http://shichuan.github.com/javascript-patterns/

Posted in Uncategorized | Tagged , | Leave a comment

good acm blog

http://www.cnblogs.com/zhourongqing/category/330454.html

Posted in algorithm | Tagged , | Leave a comment

Kadane’s algorithm – Algowiki

http://algowiki.net/wiki/index.php?title=Kadane’s_algorithm

Posted in algorithm | Tagged | Leave a comment

Find Max sum in a 2D array | PROGRAMMING INTERVIEWS

http://tech-queries.blogspot.in/2010/05/find-max-sum-in-2d-array.html A programming blog

Posted in algorithm | Tagged | Leave a comment

http://en.m.wikipedia.org/wiki/Levenshtein_distance#section_6

Posted in algorithm | Tagged | Leave a comment

ACM解题报告

http://reports.diandian.com/

Posted in algorithm | Tagged , | Leave a comment