Duplicates from multiset
Hi Please refer code below: https://code.sololearn.com/c0a21a0a15A1 it works for vector. In case of multiset, we can easily find count of some number using count method. Can we not use lower_bound and upper_bound for same in case of multiset? Just change vector to multiset in above function and observe that it throws compile time error.