Dear @viv001
Kindly check the time limit for scala as the same algorithm gives AC in C++ while the same algorithm when coded in scala gives TLE.
Dear @viv001
Kindly check the time limit for scala as the same algorithm gives AC in C++ while the same algorithm when coded in scala gives TLE.