摘要: Develop an algorithm to schedule an executive’s day, given a list of people the executive has to meet with, the amount of time they request to see the... 阅读全文
posted @ 2016-01-22 14:30 Hygeia 阅读(155) 评论(0) 推荐(0) 编辑
摘要: A question by dongfeiwww:打印一个数的所有乘数组合,从大到小,不要有重复Print all unique combinations of factors of a positive integer. For example given 24:24*112*28*36*46*2... 阅读全文
posted @ 2016-01-22 13:56 Hygeia 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Find all the repeating substring of specified length in a large string sequence.For e.g.Input String: "ABCACBABC" repeated sub-string length: 3 Output... 阅读全文
posted @ 2016-01-22 13:41 Hygeia 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Many of the Java programmers know what 'Hashcode' means, but don't really know how exactly it is calculated and why 31 is used to calculate the hashco... 阅读全文
posted @ 2016-01-22 02:41 Hygeia 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1.How java implements HashMapHashMap Custom implementation in java - How HashMap works internally with diagrams and full programhttp://www.javamadesoe... 阅读全文
posted @ 2016-01-22 02:00 Hygeia 阅读(238) 评论(0) 推荐(0) 编辑
摘要: reference:http://fuxueliang.com/tech/2013/05/26/java-sorting-comparator-vs-comparable-tutorial/ 阅读全文
posted @ 2016-01-22 00:51 Hygeia 阅读(141) 评论(0) 推荐(0) 编辑