結果 : python set check if element exists time complexity