This is my simple resolution of the HackerRank challenge.
I thought about assigning all socks on a map, and then I separated by each "value" that the quotient was even.
HackerRank challenge
This is my simple resolution of the HackerRank challenge.
I thought about assigning all socks on a map, and then I separated by each "value" that the quotient was even.