I Want 2nd part of this contest.. please make more videos on this sister❤
@codencode77362 ай бұрын
Sure 😊❤
@RoshanVijey-ed4zm3 ай бұрын
I wrote your code (same logic) in CPP , I got TLE but when i wrote in JAVA it gets accepted. Does the language matters because both the code gives runtime around 3.6 seconds but java gets accepted. Do you know why?
@codencode77363 ай бұрын
Yes, the language can matter when it comes to Time Limit Exceeded (TLE) errors, and there are several reasons Java runs on the Java Virtual Machine (JVM), which has some optimizations like Just-In-Time (JIT) compilation. The JVM may optimize your code during runtime, leading to slightly faster execution for repeated tasks or loops and Online judges often set different time limits for different programming languages. This is because languages like Java and Python generally have more overhead compared to C++, so the time limits are slightly relaxed to account for that. We hope you have got your answer. Thanks for watching our video.
@RahulKumar-o5t4j3 ай бұрын
Please please make videos for rest 5 question
@ankan10013 ай бұрын
Time Limit Exceeded error showing is it Time Complexity error?