NacSpace Interview Question

A few coding problems and errors needed to solve