摘要: CategoryDao 1 //把一个map中的数据映射到category中 2 private Category toCategory(Map map) 3 { 4 5 Category category=CommonUtils.toBean(ma... 阅读全文
posted @ 2015-08-31 17:26 尾巴草 阅读(316) 评论(0) 推荐(0)
摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Note: Do not modify the linked list. Follow up:Can you ... 阅读全文
posted @ 2015-08-31 12:02 尾巴草 阅读(110) 评论(0) 推荐(0)
摘要: Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? 1 /** 2 * Definition for singly-linked ... 阅读全文
posted @ 2015-08-31 11:56 尾巴草 阅读(114) 评论(0) 推荐(0)
摘要: 1、最大回文子串算法:manacher算法2、LCA问题:Tarjan算法3、字符串匹配:KMP算法4、寻找最小的k个数:quick select算法5、数字统计6 median of two sorted7、majority of element;moorre voting algorithm8、... 阅读全文
posted @ 2015-08-31 10:43 尾巴草 阅读(381) 评论(0) 推荐(0)