两个数组 [英] two arrays
本文介绍了两个数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
下午好,伙计们!我想问一下是否可以比较两个具有不同大小或尺寸的数组? :)
Good Afternoon fellas! I would like to ask if it is possible to compare two array with different size or dimension? :)
推荐答案
是的,为什么不呢?
只是简单而已.
循环遍历第一个数组的每个项目,然后将其与Loop内第二个数组的每个项目进行比较.
Yes, Why not.
Just a simple it is.
Loop through the each item of first array and then compare it with the each item of second array inside Loop.
这篇关于两个数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文