EchoStar Interview Question

Three part: basic digital logic, c and basic circuit.