摘要: Task description A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the 阅读全文
posted @ 2016-09-21 15:40 wizardkeven 阅读(324) 评论(0) 推荐(0)
摘要: 题目:在一个字符串中找到第一个没有重复元素的字符并返回。 例:输入:"yellow" 返回:“y” 输入:"tooth" 返回:“h” 输入:“coco” 返回:“” 这个题目我在亚马逊电话面试中遇见过,后来再一家日本公司面试中也遇见过。尽管这个问题并没有涉及到比较高级的编程思想,比如动态编程dyn 阅读全文
posted @ 2016-09-17 22:02 wizardkeven 阅读(8240) 评论(0) 推荐(0)