Assign the negativeCntr with the number of negative values in the linked list

The solution is,

negativeCntr++;

Leave a Comment