DIY: Exclusive Time of Functions
Solve the interview question "Exclusive Time of Functions" yourself in this lesson.
We'll cover the following...
Problem statement
You are given a list of logs, where logs[i]
represents the log message formatted as a string, {function_id}:{"start" | "end"}:{timestamp}
. ...