結果 : k smallest substring hackerrank solution