Synthesia interview question

Coding task related to speech and NLP.