Editing 2483: Linked List Interview Problem

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
This is another one of [[Randall|Randall's]] [[:Category:Tips|Tips]], this time a coding interview tip.
+
{{incomplete|Created by a LINKED LIST. Please mention here why this explanation isn't complete. Do NOT delete this tag too soon.}}
  
 
In computer programming, a {{w|linked list}} is a type of data structure that stores data throughout memory accompanied with memory addresses of the next, and potentially previous data point, establishing a relative ordering for a collection of data. Several common software engineering interview questions involve manipulating or otherwise interacting with linked lists. Possibly because programmers in the current day rarely work with linked lists directly, Randall suggests that such structures belong in a "technology museum," and thinks it would be more beneficial to mankind to email the list to such a museum rather than perform any useful work with it.
 
In computer programming, a {{w|linked list}} is a type of data structure that stores data throughout memory accompanied with memory addresses of the next, and potentially previous data point, establishing a relative ordering for a collection of data. Several common software engineering interview questions involve manipulating or otherwise interacting with linked lists. Possibly because programmers in the current day rarely work with linked lists directly, Randall suggests that such structures belong in a "technology museum," and thinks it would be more beneficial to mankind to email the list to such a museum rather than perform any useful work with it.
Line 23: Line 23:
  
 
==Transcript==
 
==Transcript==
:[Cueball is writing on a whiteboard with a blue pen with Ponytail looking over his shoulder. The text on the board is unreadable, but it is is written in blue above them. It is a piece of code and it reads:]
+
{{incomplete transcript|Do NOT delete this tag too soon.}}
  
     <font color="blue">define traverseLinkedList(headPointer):
+
[Cueball is seen writing on a whiteboard, Ponytail is standing next to him. Above it, written in blue is a piece of code, which apparently is what Cueball is writing on the whiteboard. The text reads:]
 +
 
 +
     define traverseLinkedList(headPointer):
 
       myId="''<illegible scribbling>''"
 
       myId="''<illegible scribbling>''"
 
       authToken="''<illegible>''"
 
       authToken="''<illegible>''"
Line 33: Line 35:
 
       subj="Item donation?", body="Thought you
 
       subj="Item donation?", body="Thought you
 
       might be interested: "+str(headPointer))
 
       might be interested: "+str(headPointer))
       return</font>
+
       return
  
:Ponytail: ''Hey.''
+
Ponytail: ''Hey.''
  
:[Caption beneath the panel:]
+
[Caption beneath the panel:]
:Coding interview tip: Interviewers get really mad when you try to donate their linked lists to a technology museum.
+
Coding interview tip: Interviewers get really mad when you try to donate their linked lists to a technology museum.
  
 
{{comic discussion}}
 
{{comic discussion}}
  
 
[[Category:Comics with color]]
 
[[Category:Comics with color]]
 +
[[Category:Programming]]
 
[[Category:Tips]]
 
[[Category:Tips]]
[[Category:Comics featuring Cueball]]
 
[[Category:Comics featuring Ponytail]]
 
[[Category:Programming]]
 
[[Category:Job interviews]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)