Stripe·Software Engineer·Technical Phone Screen
- Parse a multi-line CSV string line by line and validate that no field in any row is an empty string. How do you report or filter out the rows that fail?
- Given a list of banned words, filter out any CSV row where a relevant field contains one of those banned words. Walk through your approach.
- After filtering, take two designated columns across all remaining rows, tokenize their values, and count how many of the resulting tokens appear in a provided stop-words list. How do you handle tokenization?
“This sounds like a warmup but quoted fields with commas inside them will wreck you if you just split on commas naively.”