Vymo Interview Question

all paths in matrix