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
codingMediumVerified Question#2
2. 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#3
3. 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#4
4. 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#5
5. 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#6
6. 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.
Start practicing Datadog questions
Sign up for free to access walkthroughs, AI-generated questions, and more.