i just did what was asked to be done in question
i mean the approach i.e formula was given
i applied that and am not getting correct answer
Birthday paradox problm
Hey Jai, the formula you are using is not correct. what you are supposed to do is ppl=ceil(sqrt(i*2*365));
instead of ppl=sqrt(i*2.365);