摘要:
Given two strings s and t, return the number of distinct subsequences of s which equals t. The test cases are generated so that the answer fits on a 3 阅读全文
posted @ 2015-02-16 14:50
Grandyang
阅读(16010)
评论(11)
推荐(1)
摘要:
Given a binary tree, flatten it to a linked list in-place. For example,Given The flattened tree should look like: click to show hints. Hints: If you n 阅读全文
posted @ 2015-02-16 11:07
Grandyang
阅读(23186)
评论(3)
推荐(3)