concept length m in category algorithms

appears as: length m, length M
Algorithms and Data Structures in Action

This is an excerpt from Manning's book Algorithms and Data Structures in Action.

#3 We make sure that current node is marked as an intermediate node.