SList.linearRemoveElement

bool linearRemoveElement(T value)

Removes the first occurence of an element from the list in linear time.

Returns

True if the element existed and was successfully removed, false otherwise.

Parameters

valuevalue of the node to be removed Complexity: n