Splunk OA 2025 | Log Deduplication, Connected Components & Sliding Window Maximum
Question · Posted Jun 2026
Problem 1 - Indexer Telemetry Duplication Filter Problem Statement You are configuring a high-throughput syslog ingestion daemon. You are given an array of strings rawLogs, where each string represents an alphanumeric log signature. Before storing data, the ingestion pipeline must remove duplicate log signatures while preserving the original arrival order. Return a new array containing only the first occurrence of each unique log signature. Constraints Constraint 1 ≤ N ≤ 105 1 ≤ rawLogs[i].length ≤ 50 Test Cases Input Output ...
The full answer & interview discussion are available to premium members.
Log in Create a free account