CSV Parser with Row Validation

Asked at Waymo · Coding Questions · Difficulty: Easy · Last asked Apr 22, 2026

Write a CSV parser that turns a raw CSV string into records that other code can consume safely, even when some rows are corrupted. Each row is returned together with a validity flag and the list of problems found in it, so the consumer can filter on the flag instead of validating again.

Loading the problem…