You are given an array which contains the size of socks. Write the code to find the
number of pairs that can be formed from the given input. Example given below:
Input (1.3.2.4.3.1,2)
Output: 3 pairs having sizes 1, 2 and 3.
Input [1,2,2,2,1.4]
Output: 2 pairs having sizes 1 and 2.
Your answer
Answers
Answered by
0
Answer:
???????????????srry dont know
Similar questions