I\'ve written 2 nearest neighbor algorithms in python and I have to analyize the runtime complexity by O(n) and Θ(n). So I\'ve tried several samples and I don\'t understand why