Monthly Archives: October 2012

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

dian main

=== walmart labs===   good morning. class Store  Item [100] items  int length = 0  public int startingIndex = 0;  boolean add(Item item)  Item remove()  public synchronized boolean add( Item item )  {      if( item == null )      {          return … Continue reading

Posted in interview | Tagged | Leave a comment

[quantcast面经] software engineer – 未名空间(mitbbs.com)

http://www.mitbbs.com/article_t/JobHunting/32061737.html

Posted in interview | Leave a comment

quantcast和storm8电面和code challenge面经 – 未名空间(mitbbs.com)

http://www.mitbbs.com/article_t/JobHunting/32244467.html

Posted in algorithm | Leave a comment

Implement the Queue in Java

http://www.roseindia.net/java/example/java/util/QueueImplement.shtml

Posted in Uncategorized | Tagged | Leave a comment

Table designs based on CSS and DIV elements

http://www.dev-archive.net/articles/table-in-css.html

Posted in front end | Tagged | Leave a comment

CSS Grid Layout

http://dev.w3.org/csswg/css3-grid-layout/

Posted in front end | Tagged | Leave a comment