摘要:
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 roo 阅读全文
posted @ 2017-10-07 23:06
hellowOOOrld
阅读(522)
评论(0)
推荐(0)
摘要:
Given two strings A and B, find the minimum number of times A has to be repeated such that B is a substring of it. If no such solution, return -1. For 阅读全文
posted @ 2017-10-07 18:24
hellowOOOrld
阅读(456)
评论(0)
推荐(0)