About memory | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

About memory

when it comes to data structures and algorithms, is it essential to imagine the way I will manage memory before writing the code as a logical way to write the code ?!

13th May 2018, 7:35 AM
Muhammad Fouad Al-Haroon
Muhammad Fouad Al-Haroon - avatar
1 Answer
+ 10
when it comes to (embedded systems) systems with small memory then memory parameter is very important. But in general first write the working and correct output code, then improve its efficiency (means reducing complexity) then check for space complexity or manage memory by making changes in code without affecting it's output
13th May 2018, 8:21 AM
Rstar
Rstar - avatar