"SET" never allows duplicate elemements.It contains element in unique and stores elements in an unordered way.In Set we retrive data only in forward direction.
"LIST" allows duplicate elemements.It contains element in non-unique and stores elements in an ordered way.In List you can retrive both forward and backward direction.
No comments:
Post a Comment