SUNRISE FUTURES interview question

How to avoid bugs in coding