I don't know where I am going, but I am already on my way!
Time is hurried, although I have never met, but I met Yusi, it is really a great fate, thank you for your visit!
Topic : Little A and Little B are playing guessing numbers. Little B randomly chooses one from 1, 2, 3 each time, and Little A also chooses one guess from 1, 2, 3 each time. They played this game three times in total. Please go back to Little A and guess how many times it is right? The input guessarray is small A’s guess every time, and the answerarray is small B’s choice every time. guessAnd answera length equal to 3.
Algorithm description: directly judge the elements at the corresponding positions, if they are equal, guess the number of times +1, and return the final result.