版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/85064513
Same as previous one, but need to care is we need to sort then now current is appending before or not. So we need to check if current elements is handle before with the same situation.