Skip to main content
1 vote

Merge two sorted linked lists in C++

std::forward_list already has a merge() member function. In an interview, I would use that rather than reinventing a wheel. I'...
Toby Speight's user avatar
  • 79.3k

Only top scored, non community-wiki answers of a minimum length are eligible