摘要: 题目如下: Given a binary tree, return the sum of values of its deepest leaves. Example 1: Constraints: The number of nodes in the tree is between 1 and 10 阅读全文
posted @ 2019-12-29 08:58 seyjs 阅读(548) 评论(0) 推荐(0)
摘要: 题目如下: You are given a square board of characters. You can move on the board starting at the bottom right square marked with the character 'S'. You nee 阅读全文
posted @ 2019-12-29 08:56 seyjs 阅读(339) 评论(0) 推荐(0)
摘要: 题目如下: Given an integer array arr and a target value target, return the integer value such that when we change all the integers larger than value in th 阅读全文
posted @ 2019-12-29 08:50 seyjs 阅读(600) 评论(0) 推荐(0)
摘要: 题目如下: Given an array arr, replace every element in that array with the greatest element among the elements to its right, and replace the last element 阅读全文
posted @ 2019-12-29 08:45 seyjs 阅读(461) 评论(0) 推荐(0)