摘要: 亚麻 的OA题 代码在leetcode 测试通过; leetcode 链接 https://leetcode.com/problems/longest-palindrome/description/ 阅读全文
posted @ 2018-01-16 15:12 HisonSanDiego 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 这是亚麻的OA 题 这里的代码没有经过测试 Given a binary tree, find the subtree with maximum sum. Return the root of the subtree. another similar problem in leetcode : ht 阅读全文
posted @ 2018-01-16 13:42 HisonSanDiego 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 可能是2018 亚麻的OA题。 1.给字符串, 找出里面长度为N的, 并且里面字符只有一次重复的字串。例子:s: asdfaghjkjqoiiii;N=5. 返回asdfa ghjkj hjkjq jkjqo jqoii. 阅读全文
posted @ 2018-01-16 12:52 HisonSanDiego 阅读(146) 评论(0) 推荐(0) 编辑