I have been doing Leetcode on-and-off lately. "On" for most days. "Off" when I have an exam or, lately, feel not in good health. I know this is not a...
Or what to do with the books at hand · Above, I attached a table of common data structure operations from Big-O cheat sheet . And we will focus on Array...
O(n) vs O(1) When we say an algorithm is O(n), we imply that it takes n steps to take this algorithm from start to finish, given n is the number of...
[ Data Structures ] Arrays – what about them? · Imagine you are in a library, facing rows of bookshelves. Each bookshelf is stacked with rows and rows of...