Refresh to get another 5 random questions

Population Dynamic

Write an ODE to model the population dynamics.
Explain your equation and solve it.

Tags: ODE

Random arcs

Choose, at random, three points on the circle x^2 + Y^2 = 1. Interpret them as cuts that
divide the circle into three arcs. Compute the expected length of the ...


Return k random numbers from a stream of numbes

There is a linked list of numbers of length N. N is very large and you don't know N. You have to write a function that will return k random ...


Sum of infinite series

For any integer m>=2, show that the following infinite series sum converges to 1, e.g.

Sum_{n=m...inf} C(n-1, m-1)/2^n =1

Tags: math equality

find min and max

develop an algorithm for finding the min and max of n numbers by using fewer than 3n/2 comparisions.