首页 > 其他 > 详细

【leetcode_easy】1470. Shuffle the Array

时间:2020-10-28 09:15:24      阅读:41      评论:0      收藏:0      [点我收藏+]

leetcode_easy_array

problem

1470. Shuffle the Array

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;

【leetcode_easy】1470. Shuffle the Array

原文:https://www.cnblogs.com/happyamyhope/p/13321689.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!