两个数组
问题描述:
下午好,伙计们!我想问一下是否可以比较两个具有不同大小或尺寸的数组? :)
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.