Illumio interview question

Matrix traversal problem with stateful ness