Get the largest key in a dictionary

前端 未结 3 636
走了就别回头了
走了就别回头了 2020-12-20 11:19

I have a dictionary with keys that are ints. I would like to get the largest key. I don\'t keep track of keys so they might be consecutive (e.g. 1,2,3,4,5,6) but might skip

3条回答
提交回复
热议问题