Algorithm · Stripe · Hard
Given a flat array of CSV-formatted task records, build an arbitrarily nested forest and return its visual tree rendering. Each record is a string with exactly three comma-separated fields: id, parent_id, and name. The CSV fields follow standard quoting rules: an unquoted field cannot contain a comma or a double quote; a quoted field begins and ends with ", may contain commas, and represents a literal double quote as two consecutive " characters. Whitespace within fields is…
Checking your access…