Design transactional in-memory key-value store | Snowflake Interview Question