Editing 2483: Linked List Interview Problem
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== | ||
− | + | {{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== | ||
− | + | {{incomplete transcript|Do NOT delete this tag too soon.}} | |
− | + | [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 | + | return |
− | + | Ponytail: ''Hey.'' | |
− | + | [Caption beneath the panel:] | |
− | + | 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]] | ||
− | |||
− | |||
− | |||
− |