摘要:
Given a binary tree, find the leftmost value in the last row of the tree.Example 1:Input: 2 / \ 1 3 Output: 1 Example 2: Input: 1 / \ 2 3 / / \ 4 5 ... 阅读全文
posted @ 2017-08-13 22:28
xiejunzhao
阅读(223)
评论(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 counted as different substrings even they consist of... 阅读全文
posted @ 2017-08-13 21:39
xiejunzhao
阅读(256)
评论(0)
推荐(0)
摘要:
Given two strings representing two complex numbers.You need to return a string representing their multiplication. Note i2 = -1 according to the definition.Example 1:Input: "1+1i", "1+1i" Output: "0+2i... 阅读全文
posted @ 2017-08-13 21:13
xiejunzhao
阅读(321)
评论(0)
推荐(0)

浙公网安备 33010602011771号