class Solution { public: int sqrtFun(int x ,int l, int r){ if(r == l+1) return l; if(x / ((l+r)/2) < ((l+r)/2)) return sqrtFun(x, l, (l+r)/2); else if(x / ((l+r)/2) > ((l+r)/2)) return sqrtFun(x, (l+r)/2, r); else return (l+r) / 2; } /** ...