4 ms·
The "Linked Lists" chapter from "Programming Interviews Exposed" begins: "The deceptively simple linked list is the basis for a surprising number of problems r
by tobych 16y ago
The "Linked Lists" chapter from "Programming Interviews Exposed" begins:
"The deceptively simple linked list is the basis for a surprising number of problems regarding the handling of dynamic data. Problems about efficient list traversal, list sorting, and the insertion or removal of data from either end of a list are good tests of basic data-structure concepts... Their simplicity appeals to interviewers, who want to present at least two or three problems over the course of an hour-long interview... You can write a relatively complete implementation of a linked list in less than 10 minutes, leaving you plenty of time to solve the problem... In addition, there is little variation in the way linked lists are implemented, which means that an interviewer can simple say "linked list" and not waste time discussing and clarifying implementation details."
http://www.piexposed.com/ http://www.piexposed.com/