Closed JMukta25 closed 2 years ago
May I solve this issue @JMukta25 ?
Nikita Miraje CCOEW E&TC I would like to work on this issue.....can you please assign me this issue???
@ VodkaCranberry Write your name and college name as well as in which year you are?
HEY!!! This is Aditi Sharma(SY-C) MKSSS's CCOEW Computer Engineering
I want to work on this issue Please assign this to me.
Hii I am utkarsha from CCOEW sy comp I want to work on this issue
There is a large pile of socks that must be paired by color. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are. n=7 arr=[1,2,1,2,1,3,2] There is one pair of color 1 and one of color 2 . There are three odd socks left, one of each color. The number of pairs is 2. Complete the sockMerchant function in the editor below. Function Description int n: the number of socks in the pile int ar[n]: the colors of each sock STDIN Function
9 n = 9 10 20 20 10 10 30 50 10 20 ar = [10, 20, 20, 10, 10, 30, 50, 10, 20] Output 3