Add Sliding-Window Get and Put Activity Metrics to a Key-Value Store

Read the full interview experience this question came from →

Quick Overview

Extend an in-memory key-value store with `averageGet(window)` and `averagePut(window)` activity metrics for sliding windows of one hour, one day, and one week. Make the API or object boundaries explicit, then cover invariants, edge cases, testing strategy, and operational trade-offs.

Add Sliding-Window Get and Put Activity Metrics to a Key-Value Store

Company: Databricks

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: Extend an in-memory key-value store with `averageGet(window)` and `averagePut(window)` activity metrics for sliding windows of one hour, one day, and one week. Make the API or object boundaries explicit, then cover invariants, edge cases, testing strategy, and operational trade-offs.

Read the full Databricks Software Engineer interview experience this question came from

|Home/Software Engineering Fundamentals/Databricks
Databricks logo
Databricks
Jul 30, 2026
mediumSoftware EngineerOnsiteSoftware Engineering Fundamentals
15
0
Loading...
Loading comments...