The round comes in three graded parts, submitted one at a time. Reports are consistent that the clock is tight, so finish the first two quickly. Part 1 — most frequent call path You are given a list of trace lines. -> funcName means a function was entered; <- funcName…