numtri
No visited vector
TLE
DP first attempt
AC.
Remove artifact