摘要: 题目: Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which forms the se 阅读全文
posted @ 2015-12-01 13:00 YRB 阅读(812) 评论(0) 推荐(0) 编辑
摘要: 题目:A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).Write a function to count the total strob... 阅读全文
posted @ 2015-12-01 06:02 YRB 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 题目: A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Find all strobogrammatic numbers that a 阅读全文
posted @ 2015-12-01 04:17 YRB 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: 题目: A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to determine if a numb 阅读全文
posted @ 2015-12-01 01:07 YRB 阅读(951) 评论(0) 推荐(0) 编辑
摘要: 题目:This is afollow upofShortest Word Distance. The only difference is nowword1could be the same asword2.Given a list of words and two wordsword1andwor... 阅读全文
posted @ 2015-12-01 00:42 YRB 阅读(730) 评论(0) 推荐(0) 编辑