How Many Ways from A to C via B? Counting the Unique Paths Walking in a Grid August 6, 2017 algorithms, dynamic programming, math, php, puzzle No Comments Let’s see this question: If Jack starts at A, and he can only travels one move at a time to the north or east, and he cannot go back. … [Continue Reading...]
What is the Probability of Two Sharing Birthday? December 21, 2016 algorithms, c / c++, math, puzzle No Comments Assume a year has 365 days, what is the probability among 50 students, that at least two having the same birthday? Let’s consider this: what is the probability that … [Continue Reading...]