Think of Fibonacci numbers or infinite sequences. Python blurs this line intentionally. You can build an iterator class with next () that generates values without any backing collection (like range () ...
def test_solution(self, nums, target, result): ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results