The Space - Time Trade Off
The best algorithm to solve a given problem is one that needs less space in memory and takes less time to complete its implementation. But in practice it is not always possible to achieve both of these objectives. There may be more than single approach to solve a problem. Single approach may require more space but less time to complete its implementation.