Cracking the Coding Interview questions implemented in Go