Filter user logs by business rules
viaGlassdoor
Parse two input strings representing user logs (event lines with fields like user id, action, timestamp), apply a set of business rules, and return all valid users — those whose log entries satisfy every rule. The emphasis is on data-manipulation correctness and efficiency.
asked …