You are viewing a single comment's thread. Return to all comments →
It's definitely different, but not very lean. You are creating a new data struct to solve the problem when that is not necessary.
Delete duplicate-value nodes from a sorted linked list
You are viewing a single comment's thread. Return to all comments →
It's definitely different, but not very lean. You are creating a new data struct to solve the problem when that is not necessary.