F. Restore the Permutation by Sorted Segments(想法)

NoSuchKey