# std::min_element(begin_iterator, end_iterator); std::vector<int> v = {3, 2, 1, 4, 5, 6}; std::cout << "Min element: " << *std::min_element(v.begin(), v.end());