The Department of Redundancy Department Type: General Diff:2.5
Tricks
Here the order of the output is a subsequence of the input. Another important thing is the input size. I use 10,000 and got accepted.
Related Problems & Topics
If you have any advice, complements
or proposal, please Send mail to Author
Submit