lists is actually the name of vector
lists
vector
lists.erase(remove_if(lists.begin(), lists.end(), [](ListNode* node){return !node;