Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::find_first_ofCopy linkFacebookEmailNotesMoreDaily bit(e) of C++ | std::find_first_ofDaily bit(e) of C++ #389, The quadratic find algorithm that finds the leftmost element contained within another range: std::find_first_of.Šimon TóthJan 25, 20241Share this postDaily bit(e) of C++Daily bit(e) of C++ | std::find_first_ofCopy linkFacebookEmailNotesMoreShareThe 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.Click to open in Compiler Explorer.Leave a commentThanks for reading Daily bit(e) of C++! Subscribe for free to receive new posts and support my work.Subscribe