Implementation related

im not able to code the problem. i have figured out how to do it using pairs but cannot code

Here is the implementation using the pairs

1 Like