110 reputation
3
bio website
location
age 23
visits member for 3 years, 5 months
seen Jul 13 at 16:58

PHP Programmer, Web Developer I take interest in make Efficient Algorightms, and i have a lot of interest in Artificial Intelligence.


Sep
24
awarded  Autobiographer
Jan
29
comment Finding points in a grid with exactly k paths to them?
This shouldnt be allowed ! its Facebook Hacker Cup Q1) Checkpoint... and the contest in not over yet !
Jan
6
comment counting total factors, given multiplicity of all prime factors
why does this approach fails for when we are looking for all factors ? 72 = 2^3 . 3^2 ... so first '2' has two choices, second 2 has 2 choices, third 2, and both 3s.. so 2^(3+2) (this was my initial approach to the question, and i fail to identify why is this wrong )?
Jan
6
accepted counting total factors, given multiplicity of all prime factors
Jan
6
comment counting total factors, given multiplicity of all prime factors
That was a very clear explanation. Thank you. Why does an Approach of 2^(total count of factors) work ? For every factor of the N, it has two choices, either to get multiplied by I or by J, but this gives wrong answer, I am sure you can clear my doubt here.
Jan
6
comment counting total factors, given multiplicity of all prime factors
@AndréNicolas Please add your comment as an Answer so i can mark it accepted.
Jan
6
comment counting total factors, given multiplicity of all prime factors
@BillCook done.
Jan
6
asked counting total factors, given multiplicity of all prime factors
Jul
11
awarded  Student
Jul
10
awarded  Scholar
Jul
10
accepted Adding two Probabilities
Jul
10
comment Adding two Probabilities
@mixedmath: sorry i did not understood what you meant by you question, thanks for the answer though :)
Jul
10
comment Adding two Probabilities
@mixedmath at a later stage, i only have x1/x (in decimal) and y1 and y, ............... also you say other option is that i need to know the proportion of words in one article to the number of words in the other article...... how does this solve when i have a 3rd, 4th ... and more articles and have to update the probability ?? Thanks.
Jul
10
asked Adding two Probabilities