Tuesday, August 31, 2021

What are Algorithms and Data Structures

 Both are the building blocks of any Software(a collection of programs).

Program = Algorithms(processing/logic) + Data Structures (temporary memory)

Data Structures are tools for storing more than one data items at a time using a single name. They work as our short-term memory while we do mental calculations.

Algorithms are like the mental calculations/thinking that we do while solving a problem or performing some task.

Both together make a small replica of human brain. 

Data structures should be learnt first because algorithms use them.

No comments:

Post a Comment

इश्क में ग़ैरत-ए-जज़्बात ने रोने ना दिया - सुदर्शन फ़ाकिर

 इश्क में ग़ैरत-ए-जज़्बात ने रोने ना दिया वरना क्या बात थी किस बात ने रोने ना दिया आप कहते थे कि रोने से ना बदलेंगे नसीब उमर भर आप की इस बात...