Category: Array coding problemYou are given a sorted (ascending) array of response times in milliseconds, a fixed bucket width, and a total number of buckets. Distribute the...Input: Array Output: Array
codingMediumVerified Question#2
2. Event Window Aggregator
Category: String coding problemYou are given a list of sensor readings. Each reading has a list of labels, a timestamp, and a numeric value. You are also given a target label and...Input: Array of strings Output: Array
codingEasyVerified Question#3
3. Sensor Reading Interpolator
Category: Algorithm coding problemYou are given a sorted list of sensor readings, where each reading is a pair [time, measurement]. The readings are sorted by time in ascending order....Input: List Output: Computed result
codingEasyVerified Question#4
4. Label Co-occurrence Finder
Category: String coding problemYou are given a list of label groups and a list of required labels. Each group is a list of strings. A group is considered valid if it contains every...Input: Array of strings Output: Array
codingMediumVerified Question#5
5. Denomination Breakdown
Category: Array coding problemYou are given a list of distinct positive integer denominations and a target amount. Find the minimum total number of denominations needed to sum...Input: Array Output: Integer
codingMediumVerified Question#6
6. Asset Tree Size
Category: Tree coding problemYou are given a list of asset nodes representing a tree structure and a target path. Each node has a name, an optional size (present only for leaf...Input: List Output: Computed result
codingMediumVerified Question#7
7. Storage Cleaner
Category: Trie-based coding problemYou are implementing a recursive storage cleaner. Given a filesystem represented as a dictionary and a starting path, delete all files and...Input: Array of strings Output: Computed result
codingMediumVerified Question#8
8. Stream Pattern Matcher
Category: Algorithm coding problemYou are processing a stream of mixed input lines. Each line is either a pattern registration or an event log entry. - A pattern line starts with `P:...Input: List Output: Printed output
codingMediumVerified Question#9
9. Packet Buffer
Category: String coding problemDesign a PacketBuffer class that manages a fixed-capacity in-memory buffer for incoming data. Data is flushed to disk in chunks when the buffer...Input: String Output: Integer
No AI generated questions yet for Datadog.
Related Datadog Engineering Manager interview prep