Tesla interview question

Coding question but HDL logic