Micron Technology interview question

some code test some thesis question