86 std::vector<int> arr = {10, 9, 2, 5, 3, 7, 101, 18};
89 std::vector<int> arr2 = {0, 1, 0, 3, 2, 3};
92 std::vector<int> arr3 = {7, 7, 7, 7, 7, 7, 7};
95 std::vector<int> arr4 = {-10, -1, -5, 0, 5, 1, 2};
98 std::vector<double> arr5 = {3.5, 1.2, 2.8, 3.1, 4.0};
101 std::vector<char> arr6 = {
'a',
'b',
'c',
'a',
'd'};
104 std::vector<int> arr7 = {};
107 std::cout <<
"All tests have successfully passed!\n";