- 博客(2)
- 收藏
- 关注
原创 lintcode - 循环单词
题目描述:The words are same rotate words if rotate the word to the right by loop, and get another. Count how many different rotate word sets in dictionary. E.g. picture and turepic are same rotate words....
2018-03-21 17:08:05 412 2
原创 lintcode - 把二叉搜索树转化成更大的树
题目描述:给定二叉搜索树(BST),将其转换为更大的树,使原始BST上每个节点的值都更改为在原始树中大于等于该节点值的节点值之和(包括该节点)。 样例: Given a binary search Tree `{5,2,13}`: 5 / \ 2 13 Return the root of new tree ...
2018-03-20 13:36:24 430
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人