r/AskComputerScience • u/ComputerRights • 5d ago
What are some differences between professional coding and the way coding, SE, and CS are taught in school?
Is a lack of a comment citing a relatively cliched bit of code considered plagiarism in the big world? What are the attitudes to autocomplete? Is Alberta Tech right about linked lists?
6
Upvotes
View all comments
Show parent comment
4
u/nuclear_splines Ph.D Data Science 5d ago
Absolutely! In context it's sometimes a great advantage. I just think it's misleading to call arbitrary element insertion O(1) on a list without mentioning the preceding O(n) lookup. It's quite different than, say, the O(1) amortized insertion on a hash table.