Valid point with the 2*n n*2 thing, I changed it to 2*n. Thanks for the feedback.
Yeah, maybe I'll work with something that requires thinking more about time complexity in the future. But I think most people are like me, and work with things that rarely creates the opportunity to utilize any knowledge of time complexity.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.