摘要: You need to find the largest value in each row of a binary tree. Example: Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9] You need to find the largest 阅读全文
posted @ 2018-01-20 15:57 immjc 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end indexes are c 阅读全文
posted @ 2018-01-20 15:00 immjc 阅读(147) 评论(0) 推荐(0) 编辑