0

Time and memory

Sometimes even though code is correct unable to get output because of memory and time.. what are the best practices for these kind of problems. What is that area i need to put more focus and learn. Anyone can please suggest..

10th Jul 2019, 12:09 PM
praveen kasojjala
praveen kasojjala - avatar
2 Respostas
+ 1
Optimize your code to eliminate unnecessary loops or other operations, or use a better choice of data structure. Better advice is given if there is an example. Another way is to run your code on a desktop computer, where are not this limits.
10th Jul 2019, 4:23 PM
zemiak
0
Oh.. yeah sure next time I'll post the code. thank you
10th Jul 2019, 4:31 PM
praveen kasojjala
praveen kasojjala - avatar