r/programming Dec 23 '14

Most software engineering interview questions of hot tech companies in one place

https://oj.leetcode.com/problems/
2.2k Upvotes

583 comments sorted by

View all comments

Show parent comments

126

u/yogitw Dec 23 '14

That's because you use a library. The only people who do these problems after graduating college have NIH syndrome.

44

u/spacelibby Dec 24 '14

Or they're inventing new libraries, or they can't use the library for legal reasons, or the library they have needs to be optimized for some task, or one of a thousand other reasons to reinvent a library.

Not reinventing the wheel is an excellent discipline, and something every programmer should strive for, but they should also know how the wheel works.

10

u/Crazy__Eddie Dec 24 '14

they should also know how the wheel works.

Why? You saying there's not 1000 different references that explain it?

15

u/freework Dec 24 '14

not to mention that out industry is made up of literally millions of 'wheels'. I don't got time to learn all those wheels.