342: 1337: Part 2

Explain xkcd: It's 'cause you're dumb.
Revision as of 00:22, 7 March 2013 by Alpha (Talk | contribs)

Jump to: navigation, search
1337: Part 2
Trivia: Elaine is actually her middle name.
Title text: Trivia: Elaine is actually her middle name.


Donald Knuth is a computer science Professor Emeritus at Stanford University who is famous for writing The Art of Computer Programming and developing the TeX computerized typesetting system. He may not have a mountain hideaway (a reference to Kill Bill, by the way), but he would be one of the best mentors a budding hacker could have.

The A* search algorithm and Dijkstra's algorithm are graph search algorithms. And what study of algorithms wouldn't be complete without a healthy study about finding complexities? Time complexity is the amount of time an algorithm takes to execute. Upper and lower bounds for complexity is written in Big O notation. Best possible execution of an algorithm is constant time, or O(1), said in words, for any given data set no matter how large the algorithm will always return the answer in the same time. However, constant time is extremely difficult to achieve, linear time (O(n)) is also very good. For more complex algorithms, O( n*log10(n) ) is good, but O( n*log10(log10(n)) ) is better.

From the evidence that Mrs. Roberts has two children, a daughter named Elaine, and a younger son named Bobby, we can assume that she is the same mother from 327: Exploits of a Mom. Of course, the title text here explains that Elaine is only her middle name. In 327 we learned her first name is "Help I'm trapped in a driver's license factory". Mrs. Roberts appears to have had fun naming her children.

All comics in "1337" series:

This series was released on 5 consecutive days(Monday-Friday) and not over the usual Monday/Wednesday/Friday schedule.



[Man 1 standing near Man 2, who is on the floor near the armchair.]
Man 2: So the greatest hacker of our era is a cookie-baking mom?
Man 1: Second-greatest.
Man 2: Oh?
[A young girl with a ponytail is laying on the floor looking at the screen of a computer that appears to have been pieced together. A younger boy is finger painting at an easel]
Man 1 (Narrating) : Mrs. Roberts had two children. Her son, Bobby, was never much for computers, but her daughter Elaine took to them like a ring in the bell.
[The back of a car is in frame. Mrs. Roberts is waving goodbye to her daughter who is wearing a backpack and is holding a walking stick. She is about to begin climbing a staircase built into a mountain.]
Man 1 (Narrating) : When Elaine turned 11, her mother sent her to train under Donald Knuth in his mountain hideaway.
[Donald Knuth is standing with a pointing stick at a chalk board with graph traversal patterns on it.]
Man 1 (Narrating) : For four years she studied algorithms.
Knuth: Child—
[Knuth whips around slashing the stick like a sword. Elaine jumps and lands on the stick.]
Knuth: Why is A* search wrong in this situation?
Elaine: Memory usage!
Knuth: What would you use?
Elaine: Dijkstra's algorithm!
[They are outside both working on a chalkboard with a separator down the middle so they cannot look at each other's work. Elaine is no longer wearing her hair in a ponytail.]
Man 1 (Narrating) : Until one day she bested her master
Knuth: So our lower bound here is O(n log n)
Elaine: Nope. Got it in O(n log (log n))
Man 1 (Narrating) : And left.
Comment.png add a comment!


Well, imho the reference to the master in the mountain hideaway is clearly a reference to Kill Bill, but I am not skilled enough in English to write it myself... 13:06, 6 March 2013 (UTC)

Next time, don't be so shy! Just do the best you can and someone else can help correct it. Alpha (talk) 00:21, 7 March 2013 (UTC)

I don't see why dijkstra's algorithm would use less memory than A*. Any ideas? 01:44, 13 July 2013 (UTC)

Dijkstra's algorithm only needs to store one distance value per node, whereas A* needs at least an additional priority queue. Sometimes A* also precalculates and stores its heuristic. --Chtz (talk) 09:42, 13 July 2013 (UTC)
Personal tools


It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal or Bitcoin?