FAQs

Different Types of Big O

O(1)

  • Constant Time

  • An operation which is done to reach an element directly (like a dictionary or hash table)

O(n)

First we would have to search it by checking n elements

O(log n)

Sources

In-place Algorithm

An algorithm which transform input with no auxilary data structure. The input is usually overwritten by the output as the algorithm executes. In place algorithm updates input sequence only through replacement or swapping of elements.

Last updated