ALT There can be multiple ways to achieve the desired outcome, but the choice of implementation depends on your priorities.
For example, in certain cases, you may prioritize optimizing for space efficiency,
even if it means sacrificing execution time. In other cases, you may prioritize faster execution, even if it means utilizing more memory.