Quiz: Algorithms
Quiz yourself on algorithms.
1
What is the purpose of the all_of()
, any_of()
, and none_of()
algorithms?
A)
They sort a range of elements.
B)
They count the number of elements in a range.
C)
They check whether a certain condition holds for all, any, or none of the elements in a range.
D)
None of the above
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.