摘要: 题目: On an NxN chessboard, a knight starts at the r-th row and c-th column and attempts to make exactly K moves. The rows and columns are 0 indexed, so 阅读全文
posted @ 2020-02-23 19:57 silentteller 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through the 阅读全文
posted @ 2020-02-23 18:59 silentteller 阅读(309) 评论(0) 推荐(0) 编辑