• Like
The Complexity of Songs
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

The Complexity of Songs

  • 480 views
Published

A presentation I did for my high school English class based on Knuth's paper of the same name.

A presentation I did for my high school English class based on Knuth's paper of the same name.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
480
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
7
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. The Complexity of Songs By Rohan Sharma
  • 2. Disclaimer
  • 3. “ The Ideal Talk”
  • 4. Introduction
  • 5. Informative
  • 6. Accessible
  • 7. < 10 minutes
  • 8. My Talk
  • 9. No introduction
  • 10. Uninformative
  • 11. Arcane
  • 12. Possibly > 10 minutes
  • 13. Possibly > 10 minutes
  • 14. </Disclaimer>
  • 15. Computer Science
  • 16. Computer Science
  • 17. Computer Science
  • 18.  
  • 19. Computer Science
  • 20.  
  • 21. Astronomy
  • 22.  
  • 23. Warning: Boring Stuff Ahead!
  • 24. (Removed picture of friend sleeping.)
  • 25. Computational Complexity
  • 26. Largest Member
  • 27. 3 2 7 9 1
  • 28. 3 2 7 9 1
  • 29. 3 2 7 9 1
  • 30. 3 2 7 9 1
  • 31. 3 2 7 9 1
  • 32. 3 2 7 9 1
  • 33. 3 2 7 9 1
  • 34. 3 2 7 9 1
  • 35. Linear Time O(n)
  • 36. Binary Search
  • 37. 3 7 10 21 33 39 46 Search for 10
  • 38. 3 7 10 Search for 10
  • 39. 10 Found 10
  • 40. Logarithmic time O(lg n)
  • 41. (Removed picture of friend opening his mouth wide open like the Grand Canyon.)
  • 42.  
  • 43.  
  • 44.  
  • 45. The Complexity of Songs
  • 46.  
  • 47. How?
  • 48. Letters?
  • 49. Tedious!
  • 50. Words?
  • 51. Yes!
  • 52. Toughest: O(n) Easiest: O(1)
  • 53.  
  • 54. Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you
  • 55. Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you FAIL
  • 56. Breakthrough
  • 57.  
  • 58. O(n 1/2 )
  • 59. The Twelve Days of Christmas On the first day of Christmas my true love sent to me A partridge in a pear tree. On the second day of Christmas my true love sent to me Two turtle doves, and a partridge in a pear tree. On the third day of Christmas, my true love sent to me Three French hens, two turtle doves, and a partridge in a pear tree.
  • 60. The Twelve Days of Christmas On the first day of Christmas my true love sent to me gift 1 On the second day of Christmas my true love sent to me gift 1, gift 2 On the third day of Christmas, my true love sent to me gift 1, gift 2, gift 3 ... On the n th day of Christmas, my true love sent to me gift 1, gift 2, gift 3, ..., gift n
  • 61. The Twelve Days of Christmas gift 1 gift 1, gift 2 gift 1, gift 2, gift 3 ... gift 1, gift 2, gift 3, ..., gift n
  • 62. The Twelve Days of Christmas gift 1 gift 1, gift 2 gift 1, gift 2, gift 3 ... gift 1, gift 2, gift 3, ..., gift n
  • 63. O(n 1/2 )
  • 64. Breakthrough #2
  • 65. N Bottles of Beer n bottles of beer on the wall n bottles of beer! You take one down, and pass it around n - 1 bottles of beer on the wall!
  • 66. O(lg n)
  • 67.  
  • 68. O(1)
  • 69. Questions?