Write code to read and process a CSV file, explaining your approach as you go. Asked in the coding round stage. Junior SysDE loop coding round 1.
Implement process_csv(csv_text). The first CSV row is the header. Return a list of dictionaries mapping each header to its row value. Preserve values as strings, support quoted commas and quoted newlines, and ignore blank records.
def process_csv(csv_text):