(8:24)

Hamlet

(9:12)

Othello

(9:18)

Romeo and Juliet

(9:01)

Julius Caesar

Share This SparkNote

This page requires JavaScript, which you don't seem to have. Please try a different browser.

Advertisement

int example(unsigned int a) { if (a==0) return 0; else return example(a+1); }

int syracuse(int n) { if (n==1) return 0; else if (n % 2 != 0) return syracuse(n/2); else return 1 + syracuse(3*n + 1); }

int mystery(int n, int k) { if (k == 0 || n == k) return(1); else return(mystery(n-1,k) + mystery(n-1,k-1)); }

int mystery(char *s) { if (*s=='\0') return 0; else return(1 + mystery(s+1)); }

int strcmp_i(char *s, char *t) { for(; *s==*t && *s!='\0'; s,t); return(*s - *t); }

void mystery(int num) { if (num / 8) mystery(num / 8); putchar(num % 8 + '0'); }

int fib_r(int n) { if (n<=1) return 1; else return(fib_r(n-1) + fib_r(n-2)); }

int mystery(int n) { if (n>0) return n + mystery(n-1); return 0; }

int mystery(int n) { if(n > 0) return (n + mystery(n - 1)); return 0; }

int mystery(int n) { int sum = 0; while (n > 0) { sum = sum + n; n--; } return sum; }

int mystery(int n) { int j = 0, sum = 0; while (j < n) { j++; sum = sum + j; } return sum; }

int mystery(int n) { int sum; while (n > 0) { sum = 0; sum = sum + n; n--; } return sum; }

int mystery(tree_t *tree) { if (tree != NULL) { printf("%d ", tree->data); mystery(tree->left); mystery(tree->right); } }

int mystery(tree_t *tree) { if (tree != NULL) { mystery(tree->right); printf("%d ", tree->data); mystery(tree->left); } }

Take a Study Break!

The 20 funniest, most accurate literary memes

7 books by black authors that should be required reading

Every Shakespeare play summed up in a single sentence

40 questions you should definitely ask in your English class

7 "crazy" women in literature who were actually being totally reasonable

Harry Potter villains ranked from "kinda evil" to "literally the WORST"

QUIZ: What's your make-out style?

8 "gross" things we're reclaiming on behalf of girls everywhere

Feminist posters for every Hogwarts house

5 literary antagonists who were technically the good guys, if you think about it