+ 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 ?!
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