Low-Level DesignReported in a candidate post, Jul 2016
Design sorted insertion of food items with extensible sort criteria
Filed under Teradata
The question
A server returns food items shown in random order and the user wants to sort by filter options; the problem reduced to a sortedInsert on a linked list, then scaled to multiple node fields like price and popularity by using a pluggable compare function.
No write-up yet. Related questions below have one.
Related Teradata questions
Collected from public candidate posts and coding forums. Updated Nov 2026.