Write code to output the no. of times each number appears in two unsorted arrays
Given two strings of unsorted integers write code to output the no. of times each number appears in both arrays. In the sample below number 2 appears 3 times
Sample Arrays:
array #1 [2,21,4,56,12,10,8,2,12,10,21]
aray #2 [12,8,2,10,56,12,8,8,12,4,12]
-
Interview Candidate
- Aug 24th, 2017
- 8
- 5602
Showing Answers 1 - 8 of 8 Answers
Related Answered Questions
Related Open Questions
Write code to output the no. of times each number appears in two unsorted arrays
Sample Arrays:
array #1 [2,21,4,56,12,10,8,2,12,10,21]
aray #2 [12,8,2,10,56,12,8,8,12,4,12]
Related Answered Questions
Related Open Questions