+ 1
Check for two identical arrays
https://code.sololearn.com/cA0a23A52A22/# Here is my code, I want to check if two arrays are identical to return true, if not, return false. I don't why I am getting a wrong answer.
3 odpowiedzi
+ 2
Ipang oh okay I will use them then thanks 😊👍
+ 1
Do you have to use regular array? this would've been much easier using std::vector.
Apart from the problems in the code, I think you should also consider array length. When two arrays are of different length, we can say they aren't equal.
+ 1
Good luck buddy! 👍