Oli Systems Interview Question

simple programming questions + implementing a numerical algorithm