Last non-zero digit
Given a number n, find the last non-zero digit of the factorial of that number.
You need to take care of the large values of n....
5 years ago
Solved
Hangman (easy)
What is the best letter to start a <http://en.wikipedia.org/wiki/Hangman_(game) hangman> game with?
You are given a cell arra...
5 years ago
Solved
number of groups
In a classroom, *n* students work on a special project and the other students work in groups of five. If there are 18 students i...
5 years ago
Solved
Greed is good - Simple partition P[n].
Find a simple partition P[n].
E.g. P[10] = 4 + 3 + 2 + 1.
# There are many solutions, compute just one set.
# Don't repeat ...