“Naturally occurring processes are often informally modeled by priority queues. Single people maintain a priority queue of potential dating candidates, mentally if not explicitly. One’s impression on meeting a new person maps directly to an attractiveness or desirability score, which serves as the key field for inserting this new entry into the “little black book” priority queue data structure. Dating is the process of extracting the most desirable person from the data structure (Find-Maximum), spending an evening to evaluate them better, and then reinserting them into the priority queue with a possibly revised score.” HumorDatingProgrammingPriority Book:The Algorithm Design Manual Source: The Algorithm Design Manual
“It has all the right ingredients: rich contents, friendly, personal language, subtle humor, the right references, and a plethora of pointers to resources.” DesignProgrammingProgrammersJack Goldenberg Book:Programming Challenges: The Programming Contest Training Manual Source: Programming Challenges: The Programming Contest Training Manual