Question:
You are given information on a Sock object such as color and foot (left or right). For example, consider the below as input:
You have to write a method which takes the following input and return the list of Sock object pairs (same color, different foot) which are:
(1, 4) *OR *(1, 5)
(2, 3)
Note if a sock is repeated in a pair then only return 1 pair where that sock is used.