Added another solution (still TLE)