Example & Tutorial understanding programming in easy ways.

Which one take less time? Deletion of first element in array or deleteion of first node in linked lst.

Deletion of first noide in linked list take : O(1)


Deletion of first element of array take : O(n)

Read More →