You are viewing a single comment's thread. Return to all comments →
Yes, because that's how the C++ class has been defined, which is expecting a constrcutor argument.
Very funny, I never like this hackerrank anways.
Insert a node at the head of a linked list
You are viewing a single comment's thread. Return to all comments →
Yes, because that's how the C++ class has been defined, which is expecting a constrcutor argument.
Very funny, I never like this hackerrank anways.