Zendesk Off-Campus OA 2025 | SLA Breach Detector

Question · Posted Jun 2026

Problem - SLA Breach Detector Problem Statement You are given a list of support tickets. Each ticket contains: creation_time resolution_time A ticket is considered an SLA breach if: The resolution_time is null. The ticket resolution duration exceeds threshold T. The resolution duration is calculated as: resolution_time - creation_time Return the percentage of tickets that breached the SLA. Function Signature double calculateSlaBreachRate(String[][] tickets, int T) Constraints Constraint 1 ≤ tickets.length ≤ 105 0 ≤ creation_time ≤ 1012 0 ≤ resolution_time ≤ ...

The full answer & interview discussion are available to premium members.

Log in Create a free account