Описание задачи: https://github.com/CrazySquirrel/Outt...
Set and sort: O(n log n) | O(n) - https://github.com/CrazySquirrel/Outt...
One Pointer: O(n) | O(1) - https://github.com/CrazySquirrel/Outt...
Two Pointers: O(n) | O(1) - https://github.com/CrazySquirrel/Outt...