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 ?!
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
Problem Statement Given two integers a and b, your task is to calculate and print the following four values:
Please help, any idea?