sock-merchant This is my simple resolution of the HackerRank challenge. How I solved this problem: I thought about assigning all socks on a map, and then I separated by each "value" that the quotient was even.