Skip to main content
All Questions

You get a compressed archive of log files and must report how many entries failed and how many nearly failed, with no status field. How do you explore, define failure and count?

Unlock detailed company stats for this questionUpgrade
You are handed a .tar.gz archive of log files and asked how many log entries represent a failure and how many came close to failing. You must unpack it and work out the file and line formats yourself. The entries carry no success or failure label, so you must first settle what counts as a failure or a near failure (for example an execution time above some threshold) and then count.

Community answers

No answers contributed by the community yet.

Related courses

Course

Behavioral Interviews: A Practical Guide for Engineers

Get offers at the level you deserve. Prep for senior+ behavioral interviews at FAANG and Tier-1 companies. Made with staff and principal engineers from Meta, Netflix, Google, and more. Avoid downleveling, elevate past projects, and stop sounding like a robot.

Course

Software Engineering Interview Prep

Land your dream software engineering role at Google, Amazon, Microsoft, Meta, Apple, and other top companies. Learn from mock interviews, frameworks, and advice from senior candidates—practice data structures, algorithms, system design, people management, behavioral interviews, and more.