Most Frequent Function Call Path

Most Frequent Function Call Path (Single Thread)

You are given function-call logs from a single-threaded program. Each log entry is one of:

  • START functionName: execution of functionName...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: