educative.io

Educative

Why cant we use standard linked list library instead of creating our own?

Why cant we use standard linked list library instead of creating our own?

Hey @Pranjali_Choudhary!

I think there’s no major harm in using the standard linked list library. However, for a better understanding of what is actually happening behind the scenes, I think it is a good idea that a custom-made implementation is being used rather than the standard library since we get to know the ins and outs of how actually the insertion and removal processes take place.

Also, in an interview, I think you’d be expected to know the basics of a Linked List and therefore, I think it is a good idea to use a custom-made implementation rather than using the standard library. It would also leave a much better impression on the interviewer.

1 Like

got it, thanks