Apple Interview Question

Designing a UVM checker from scratch for a made-up protocol