Reported interview periodNov 2025–Aug 2026
Persist a string map across restart
Implement a durable string-to-string key-value store using the provided FileSystem abstraction.
Practice focusIn the base task, shutdown() commits a complete snapshot using FileSystem.save blob(bytes) . A newly constructed store starts empty; restore() recovers the latest saved snapshot. The supplied storage replaces a whole blob atomically and remains alive across store instances. It models snapshot persistence, not partial writes or a real disk. Keys and values may contain arbitrary Unicode characters, including newlines; use a length-prefixed binary format rather than delimiter-only encoding. Do not use JSON or pickle.…