摘要: Ugly NumberTotal Accepted:20760Total Submissions:63208Difficulty:EasyWrite a program to check whether a given number is an ugly number.Ugly numbers ar... 阅读全文
posted @ 2015-10-09 20:10 Agentgamer 阅读(148) 评论(0) 推荐(0)
摘要: Happy NumberTotal Accepted:35195Total Submissions:106936Difficulty:EasyWrite an algorithm to determine if a number is "happy".A happy number is a numb... 阅读全文
posted @ 2015-10-09 18:11 Agentgamer 阅读(146) 评论(0) 推荐(0)
摘要: Isomorphic StringsTotal Accepted:30898Total Submissions:120944Difficulty:EasyGiven two stringssandt, determine if they are isomorphic.Two strings are ... 阅读全文
posted @ 2015-10-09 17:11 Agentgamer 阅读(137) 评论(0) 推荐(0)
摘要: Word PatternTotal Accepted:4627Total Submissions:17361Difficulty:EasyGiven apatternand a stringstr, find ifstrfollows the same pattern.Examples:patter... 阅读全文
posted @ 2015-10-09 16:42 Agentgamer 阅读(171) 评论(0) 推荐(0)