Rambus interview question

Basic circuit analysis question, some algorithm questions