answersLogoWhite

0

What is efficent Algorithm?

User Avatar

Anonymous

15y ago
Updated: 8/18/2019

Basically it depends on your condition of the program but one should have these things in mind while making/writing an algorithm..... 1. Use minimum variable as much as possible.

2. Try to use the pointers instead of array's to allocate the memory at the run time.

3. Always check for the time and space complexity for the algorithm.

4. Use the exact data structure for the given problem.

User Avatar

Wiki User

15y ago

What else can I help you with?