• + 0 comments

    i need explanation int pickingNumbers(vector a) { map mp; for(int e : a) mp[e]++; int ans = mp[0]; for(int i = 1; i < 99; i++){ int curr = max(mp[i] + mp[i+1], mp[i] + mp[i-1]); ans = max(ans, curr); } return ans; If you're ever in need of emergency roofing services, it's important to act quickly to prevent further damage and ensure safety.

                                                     If you're ever in need of emergency roofing services, it's important to act quickly to prevent further damage and ensure safety.
    

    }