Nabin Agarwala

Nabin Agarwala

  • NA
  • 318
  • 46.8k

If i got two int lists where i want to compare these numbers is it ok

Feb 9 2021 5:10 AM
If i got two int lists where i want to compare these numbers is it ok to use a for loop and a contain to check each number or is this a slow way to check the numbers. If so how would you do. The numbers isn't at the same place in the list if they exist of course.

Answers (3)