摘要: Problem: You are playing the following Bulls and Cows game with your friend: You write down a number and ask your friend to guess what the number is. 阅读全文
posted @ 2017-01-03 13:03 SillyVicky 阅读(203) 评论(0) 推荐(0)
摘要: Problem: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection betwee 阅读全文
posted @ 2017-01-03 08:11 SillyVicky 阅读(291) 评论(0) 推荐(0)
摘要: Problem: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells are f 阅读全文
posted @ 2017-01-03 07:07 SillyVicky 阅读(174) 评论(0) 推荐(0)