Loading page…
Three classic interview problems on a k-th value and two linked-list rewires. The lecture shows how to read the rank direction, keep two cursors a fixed gap apart, weave a chain from both ends and avoid the edges: the middle post and the start of the lead.
Welcome to the Core 150 gap set on heaps and lists.