阅读背景:

如何重复查找数组中的最小元素,但在用户输入的不同索引之间。

来源:互联网 

An array of n numbers is given. Number of times minimum to be found out is given,let it be p, Indices are also given for each case repeatedly . I traversed the array to find min in array between given indices and repeated this procedure p times using for loop but I want it to be more efficient, How can I do so? An array of n numbers is given. Number of times




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: