LinkedIn logoLinkedIn
Coding·55 minMembers

Function Inclusive / Exclusive Time

Members only

Given a list of `(function_id, start|end, timestamp)` log lines, compute the inclusive and exclusive elapsed time for a target function. LeetCode 636 variant — stack-based bookkeeping where each `star...

SWE
stack
string
parsing
medium
Frequency
Low
Last asked
2025-11-20
Stage
onsite-coding

Log in to continue reading the full content