Algorithm · NVIDIA · Easy
Problem: Python Data Processing Task (Parse + Aggregate + Validate) In a chip-testing automation setting, each input line describes one test run using this format: The fields have these meanings: test_name is a string that does not contain commas. status is either PASS or FAIL. latency_ms is a non-negative integer. Write a Python program that consumes the records from stdin and performs the following operations: Discard every record whose status is FAIL. For the records that…
Checking your access…