Guilan Faculty of Engineering
Today we are going to be talking about the Importance of Algorithms
in Programming and providing their usage, optimization after
The main propose of this is to help you have a clear view of algorithms or some basic knowledge.
What’s An Algorithm?
Algorithms are sets of rules to be followed in calculation or other problem solving by computer.
After The correctness of an algorithm to solve all the test cases, the most important thing is runtime.
Computer Scientists typically talk about the runtime relative to the size of input. If the input consists of N integers, an algorithm witch has a runtime proportion to N2 represent as O(N2) means that this algorithm terminate and complete after doing N2 operations.