When programmers decide which algorithm to use to accomplish a certain task, their major concern is usually efficiency.
Efficiency encompasses both time complexity (how fast an algorithm runs) and space complexity (how much memory it uses), making it a primary consideration when selecting an algorithm for a given task.