Daily Archives: October 9, 2012

What’s the Difference Between @import and link for CSS? – CSS FAQ

From Evernote: What’s the Difference Between @import and link for CSS? – CSS FAQ Clipped from: http://webdesign.about.com/od/beginningcss/f/css_import_link.htm The Difference Between @import and <link> Before deciding which method to use to include your style sheets, you should understand what the two … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

前端开发面试题答案_web前端

From Evernote: 前端开发面试题答案_web前端 Clipped from: http://blog.sina.cn/dpool/blog/ArtRead.php?nid=7fcde0e201012uc7&a_pos=1&PHPSESSID=18f143d96ce2f77d0ac2a3a63a8d628b&&page=rest1 [微博]周立波:我和小崔均不满 博客首页 导航 |登录/注册 web前端|微博

Posted in Uncategorized | Tagged , | Leave a comment

find substring

package algorithm.weixin; public class FindSubString {    /***     * str HelloWorld      * substr world     *      *      * @param str     * @param substr     * @return     */    public static int findSubstr( String str, String substr )    {        if( str == … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

find longest common prefix

package algorithm.weixin; public class LargestCommonPrefix {    /**     *    find largest common prefix     *     *    assume all string are not null and not blank     *     **/    public static String findLCP( String[] arr )    {        int i = 0;        int j;        int … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

another good blog

http://haixiaoyang.wordpress.com/

Posted in Uncategorized | Tagged , | Leave a comment

bit-twiddling for do combination

/* This program accepts n and k on the command line, then prints * all n C k combinations of integers from 1..n */#include <stdio.h>#include <stdlib.h> int main (int argc, char *argv[]) {        int     n, k, i, j, c;         … Continue reading

Posted in Uncategorized | Leave a comment