DEV Community

Discussion on: Sets, sets are everywhere

Collapse
 
stereobooster profile image
stereobooster

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.