Micron Technology interview question

some IQ problems, device logic gates and c programming