I’m seeing the solution use “set.tailSet(50)”, so I think the result contains all numbers >= 50.
Hello @p89 ,
Yes, you are right. The tailSet() method is used to return a view of the portion of the set whose elements are greater than or equal to the parameter element .
1 Like