4 ms·
> The only time linked lists come up is in interview questions. Only if you don’t know what they’re for and when they’re useful. You can speed up Java a lot if
by commandlinefan 5y ago
> The only time linked lists come up is in interview questions.
Only if you don’t know what they’re for and when they’re useful. You can speed up Java a lot if you instantiate LinkedList instead of ArrayList when you can get away with it.
And you’re definitely not hired.
- siproprio 5y agoJava programmer: Instantiates an array cus' it's faster! Use case: random access to list elements.