Pergunta de entrevista da empresa SlideShare

First problem is to compute the check sum of a string with a given algorithm, the second one is to implement a drop piece function for tetris.