How come set knows that it contains duplicate value and how it removes? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

How come set knows that it contains duplicate value and how it removes?

Set contains unique key

18th Apr 2019, 5:49 PM
shu
shu - avatar
3 Respostas
+ 1
I think an exemplary implementation of a set is something like this https://code.sololearn.com/c9hIiRK7XM1L/?ref=app
18th Apr 2019, 6:19 PM
Dlite
Dlite - avatar
+ 1
Thank you FD:)
20th Apr 2019, 6:06 PM
shu
shu - avatar