Cisco interview question

He told me to write programs on c(mostly Pattern Problems)