Google Interview Question

How to make a good code?