0
Sets internal structure
Are python sets like link list in c++? If not what are some good applications of sets in python programming?
2 Respostas
+ 2
No, a set in python has a different characteristic to a link list in c++
"A set object is an unordered collection of distinct hashable objects. Common uses include membership testing, removing duplicates from a sequence, and computing mathematical operations such as intersection, union, difference, and symmetric difference. (official documentation python.org).
A link list in c++ is a structure, that can contain the same value in different nodes at the same time.
0
Awesome answer! I am very capable python programmer, but still I liked to master the language. Do you suggest any particular book, or any other resource?