Skip to content
How to ThinkIn the Age of AI

Priority stack

a cognitive data structure that maintains a small, ordered set of three to five priorities where only the top item is actively engaged, with four defined operations (push, pop, peek, swap) that respect working memory constraints and eliminate task-switching costs