Sets-STL

  • + 1 comment
    Although I pass all the tests,I still find certain situation that might be wrong using find function.
    What if the element isn't in the set,the find function will eventually return an iterator to the end,but if the element is just at the end of the set,the find function also will return an iterator to the end.There is no way to distinguish between the two cases using the find() function alone.