NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Always going to have some constant.
The size of the data influences the time it takes.
n - size of your input
# - you're looking is the time.
no o of 2n. same os O of n.
Types of Os.
Constant - Key thing to look: No loops, no recursion. does not change. Get the middle of the array =>Get the length of the array / 2. Takes the exact same amount of time.
log(n) - Key thing to look : Loop, each time you throw away half of the data without looking at it. Any log base just be converted. Binary Search. Normally logBase2. But it doesn't matter.
Linear - Most common one . Find the sum of all elements of the array. Loop over the whole thing fixed amount of times. Commonly 1 or 2.
N log(n) - Key thing: Key example: sorting. N times log(n). example.
Polynomial - N raised to some fixed power. integer powers. n^2 n^3.




big o - times guaranteed to equal less to n^2 times some constant. Normally care about if you run a function if it takes less then n^2.
When's the guarantee of when its gonna finish.

Might run it but get lucky, the guanrateed. Plan around n^2


Big Omega - it's guanrateed to this big or higher. this problem is omega n^2 no matter what you do to solve it. it's guanrateed, to take n^2 or higher. No one uses Omega. Just to learn about this.

Big Theda - it's O and omega in the same thing. It can't be worse it can't be better this is what it is.


     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.