STMicroelectronics interview question

Some coding questions