JavaScript and TypeScript yield different results, there could be reasons like backwards compatibility transpilation but that's an option, otherwise code should be identical if written for performance.
Haven't looked closely at the other problems, but it's apparent to me that the solutions are not even trying to be similar, so comparing their efficiency is near useless.
the problem in question was the k-nucleotide one, IIRC:
https://github.com/greensoftwarelab/Energy-Languages/blob/13...