摘要: Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array.Here... 阅读全文
posted @ 2017-02-06 14:43 copperface 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with the character '.'.A partially filled sudoku which... 阅读全文
posted @ 2017-02-06 14:42 copperface 阅读(133) 评论(0) 推荐(0) 编辑