title: What will be the time complexity of list(dict.keys()) in python3
body: <p>I was solving an algorithm question using list(dict.keys()) it was taking a lot more time
  than OrderedDict dict.popitem(0) I know it'll return generator type object we can traverse over it and get every element like range in list.</p>