Reported interview periodNov 2025–Jun 2026
Implement a Versioned Recipe Manager
Build an in-memory recipe service with unique names, search, users, and rollback.
Practice focusRecipe IDs and names are unique; name comparison and search are case-insensitive while original casing is preserved. Returned recipes must be defensive copies. Search results sort by ingredient count and then recipe ID. Successful adds and edits append immutable, one-based versions. IDs and names are nonempty strings; ingredients are lists of strings, preserving order and repetitions. Name uniqueness and substring search compare Python-style lowercase strings, without trimming or accent normalization. An empty search query matches every recipe.…