摘要: Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be only one unique solution. A sudoku puzzle......and... 阅读全文
posted @ 2018-02-01 23:28 xiejunzhao 阅读(162) 评论(0) 推荐(0)
摘要: Given the root of a binary tree, then value v and depth d, you need to add a row of nodes with value v at the given depth d. The root node is at depth 1.The adding rule is: given a positive integer de... 阅读全文
posted @ 2018-02-01 23:27 xiejunzhao 阅读(152) 评论(0) 推荐(0)