2014年3月16日 星期日

[Project Euler] Problem #336


Hint: Read problems carefully.

The algorithm stated in this problem is a stupid algorithm solving sorting by reversal.  Sorting by reversal is NP-hard.


沒有留言:

張貼留言