Cracking the Coding Interview [Ch.2: Linked Lists]
Introduction
In the previous chapter, we discussed arrays and ArrayLists, which insert elements at the end and access them in constant time, O(1). However, what if we encounter scenarios where we need to frequently add or remove elements at the begin...
youssefhesham.hashnode.dev5 min read