0
Get n list and compare the values inside if the numbers are same then you have to count 1 if not then return -1
Can anyone answer for this coding
2 ответов
+ 2
I think I can give you some pseudocode to get started...
For loop to iterate through the list
If a[i] == b[j]
Count++
Else
Return -1