...

/

Exercise 1: Injecting a Method

Exercise 1: Injecting a Method

Let's solve a challenge to test the skills of injecting a method into an instance.

Problem statement

Let’s enhance the Set class with a combine() instance method. You are required to add the combine method to the instances of the Set class.

Function description

...