H&R Block interview question

basic theory and coding questions