Daily bit(e) of C++ | std::find_first_of
Daily bit(e) of C++ #389, The quadratic find algorithm that finds the leftmost element contained within another range: std::find_first_of.
The std::find_first_of algorithm returns the left-most element from the first range that matches any of the elements in a second range.
Since neither range is ordered, the complexity is quadratic.