2021年1月17日星期日

Python: how does `set()` remove duplicated?

I was learning algorithms about removing duplicates in a list (using double pointer).

I wondering how's Python's set() implemented.

I found source code of set, but I'm not familiar with C.

Is set also using double pointer?

https://stackoverflow.com/questions/65769085/python-how-does-set-remove-duplicated January 18, 2021 at 01:05PM

没有评论:

发表评论