Refresh to get another 5 random questions

Software testing

* Tradeoff between time spent in testing a product and getting into the market first.
* What to test for given that there is not enough time to test everything ...


Find out if two linked lists are joined or not

Given pointers to two single-linked list, find out if they are joined and at which node they are joined. Use constant space to solve this and assume that the nodes ...


Sums Congruent to Zero

Show that every sequence of 2n - 1 natural numbers contains n terms whose sum is divisible by n. Show also that the assertion is false if 2n - 1 ...

Tags: math number

Magic Prime Circle

You are asked to arrange the 20 numbers from 1 to 20 in a circle such that any adjacent two numbers sum to a prime number.

Here is ...


Random walk on a sphere

A guy starts walking from position x_0 on earth (we treat earth as a sphere
with radius R). He randomly chooses a direction and walk 1 meter (this is
the ...