Foxconn Interview Question

EE question and some CS questions