Implement stack from scratch and design a restaurant reservation system
Filed under Accolite
The question
Implement a stack from scratch using a data structure that allows both push and pop in O(1) time. Additionally, design a data model for a restaurant reservation system with X tables operating between 9-11 keeping constraints in mind, and print all paths from the root to every leaf node of a given tree.
No write-up yet. Related questions below have one.
Related Accolite questions
Collected from public candidate posts and coding forums. Updated Nov 2026.