list: refactor splice() to use helper function _M_transfer()
list: refactor splice() to use helper function _M_transfer()

nguyentu1602/algorithm-tdd,nguyentu1602/algorithm-tdd,nguyentu1602/algorithm-tdd