Knights Group Interview Question

Some technical questions