Hardware interview practice
Track named bin hits
Track hit status for named bins and report which required bins were missed at end of test.
Reviewed example
Work through one case
Input
required={"reset","stall","full"}; hits={"reset","full","debug"}Expected output
missed="stall"The unrequired debug bin is ignored and the two required hits are removed from the final missing set.
What to cover
Requirements
- Support bins discovered by string name.
- Return NONE when every required bin was hit.
- Do not report unrequired bins.
