DEV Community


Discussion on: Sets, sets are everywhere

stereobooster profile image
stereobooster Author

Well, as I said as data structure I would use it to find unique values of the list (like a list of ids) or find the intersection of two lists, or check if the item already present in the list. Plus I use TypeScript - unions, intersections.