摘要: 题目: Winter is coming! Your first job during the contest is to design a standard heater with fixed warm radius to warm all the houses. 冬天来了!您在比赛期间的第一份工 阅读全文
posted @ 2018-09-17 21:01 chan_ai_chao 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 题目: Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 返回haystack中第一次出现针的索引, 阅读全文
posted @ 2018-09-17 16:24 chan_ai_chao 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 题目: Find the nth digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ... 找到无限整数序列的第n个数字1,2,3,4,5,6,7,8,9,10,11 ...... Note:n is 阅读全文
posted @ 2018-09-17 16:03 chan_ai_chao 阅读(95) 评论(0) 推荐(0) 编辑