i2i Systems interview question

- Prime number algorithms - hex to decimal conversion etc.