Array Networks interview question

RSA algorithm.