Exclusive Time of Functions


  • 0

    Click here to see the full article post


  • 1
    L

    I hope LeetCode should do some video solution instead of text, which hackerrank and geeksforgeeks are very good examples. As you know, sometimes the long text is boring to read.


  • 0
    D

    nice article, very detailed


  • 0
    A

    "Approach #1 Using Stack [Time Limit Exceeded]" - looks misleading. The accepted solution is stack-based. Any approach can be misused. When you count using fingers instead of just adding/subtracting two numbers, you're doing just that - wasting time. You could have added Thread.Sleep(1000) as well.


  • 0
    U

    "..pushing the first function's id from the given logslogs list onto the array." i think it meant stack??


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.