Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Friday, Dec 4.Claim the deal

In a restaurant, menus are refreshed daily to keep them current. Each menu is organized as an n-ary tree, where the menu consists of multiple categories, each category includes several menu items, and each menu item node holds a key, a value, an active status.

The structure of each node in the tree is defined as:

Stdout
-