Wine Tasting problem — Interview Exawizards
Please help me solve this question
Full text and comments »
calculate the mod of Exponential factorical
given three numbers p , q, r calculate the pow( p , q!) % r
It would also be helpful if you could mention the important concepts needed in solving this problem ,