class solution
{
public:
int findDuplicate(vecto]<int> &nums)
{
int n = nums.size() - 1;
int l = 1, r = n;
while(l < r)
}
}
class solution
{
public:
int findDuplicate(vecto]<int> &nums)
{
int n = nums.size() - 1;
int l = 1, r = n;
while(l < r)
}
}