結果 : finding key in dictionary python time complexity