add a list solution
unordered_list + list, got a TLE
bug fixed, solved