We call standard API function, passing the elephant as an argument.
We offered. |
Let's take the cage similar to an elephant in size. We will search the desert southwards, comparing all coming objects in pairs, and swapping them in the
way that the larger object would be placed souther then the smaller one. After certain amount of steps all objects in the desert will be sorted, the elephant
will be next to the cage and it will not take to much time to drag the elephant into the cage.
We offered. |