Tag: all paths algorithm