---
title: "Discussion on \"Big O Notation in summary 💪\" | Hashnode"
description: "Discussion on \"Big O Notation in summary 💪\". O(1) = runs a constant operation once.\nO(n) = repeats a constant operation n times.\nO(logn) = runs a constant operation on a fraction of the input\nn^2 = repeats O(n)  n times.\n2^n = doubles the current operation by the next operation.\nExamples:\nO(1) ..."
url: "https://hashnode.com/posts/big-o-notation-in-summary/632c7200318ff0fa1833784a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Big O Notation in summary 💪](https://ayobamie.com/big-o-notation-in-summary?utm_source=hashnode&utm_medium=feed)

O(1) = runs a constant operation once. O(n) = repeats a constant operation n times. O(logn) = runs a constant operation on a fraction of the input n^2 = repeats O(n) n times. 2^n = doubles the current operation by the next operation. Examples: O(1) ...

Sep 22, 2022 · 1 min read · ayobamie.com  
Read the article

-   [#big-o-notation](https://hashnode.com/tag/big-o-notation)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#algorithm](https://hashnode.com/tag/algorithm)

## Written by

[Ogundiran Ayobami](https://hashnode.com/@codingnninja)

@codingnninja

  
[View profile](https://hashnode.com/@codingnninja)

Making programming easy to learn for all.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
