11.07.2015 Views

google.com/search?q=recursion

google.com/search?q=recursion

google.com/search?q=recursion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>google</strong>.<strong>com</strong>/<strong>search</strong>?<strong>q=recursion</strong>


O(1)O(log n)O(n)O(n log n)O(n 2 )O(n c )O(n!)“constant”“logarithmic”“linear”“supralinear”“quadratic”“polynomial”“factorial”


wi-fi


Pass/Fail, Add/Drop


a = OJ;b = milk;


a = b;b = a;


tmp = a;a = b;b = tmp;


voidswap(int a, int b){int tmp = a;a = b;b = tmp;}


voidswap(int *a, int *b){int tmp = *a;*a = *b;*b = tmp;}


CS50 LibraryGetCharGetDoubleGetFloatGetIntGetLongLongGetString


intmain(void){ int* int* x; y; x = malloc(sizeof(int)); *x = 42; *y = 13; y = x; }*y = 13;


to be continued...

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!