Pergunta de entrevista da empresa J.P. Morgan

programming questions based on oops, then simple probability questions