© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
saurabh sharma
Nice article.
Can we use set directly, instead of converting it to list again in the unique items list example?
set
list
Thanks
Siddharth Chandra
Senior Software Engineer
Yes, definitely.
It all depends on your use case. Here, I just wanted to highlight an approach for getting a list of unique items. You can leave it to set if that solves your purpose.
Amad lei