YES! Dynamic all paths exhaustion in both recursive and iterative ways