leetcode_easy_array
problem
solution #1:
code
solution #2:
code
注意:
1. vector;
first, last Input iterators to the initial and final positions in a range. The range used is [first,last), which includes all the elements between first and last, including the element pointed by first but not the element pointed by last. The function template argument InputIterator shall be an input iterator type that points to elements of a type from which value_type objects can be constructed.
2.
参考
1. leetcode_1470. Shuffle the Array;
2. cplusplus_vector;
完