Ineffectiveness of last() in the real world

While studying at the institute and learning different data processing algorithms, I already knew that the necessity of using such a function as last() for one-way list can indicate an unfortunate choice of the data structure and lead to ineffective algorithm. Although I knew it long ago, I haven’t faced this in practice until recently.

Subscribe to VivaCore