摘要:
Given a binary tree, print it vertically. The following example illustrates vertical order traversal. 1 / \ 2 3 / \ / \ 4 5 6 7 \ \ 8 9The output of p... 阅读全文
摘要:
Given a string and a positive integer d. Some characters may be repeated in the given string. Rearrange characters of the given string such that the s... 阅读全文
摘要:
A suffix array is a sorted array of all suffixes of a given string. The definition is similar to Suffix Tree which is compressed trie of all suffixes ... 阅读全文