Posts by joao silva • 1 point
1 post
-
-1
votes0
answers22
viewsQ: invert list recursively
#include <iostream> using namespace std; template <class W> struct nodo { W key; nodo<W> *next; nodo(W x) { key = x; next = 0; } }; template <class T> class lsord { private:…