結果 : python string reverse time complexity