Sonatus Interview Question

Standard medium level leetcode with log parsing