Rockstar Games interview question

Explain the difference between the big o notation on these 2 scenarios