AKUNA CAPITAL Interview Question

Coding qs were based on : Matching parentheses, Prime factorization, fair dice expected value when rolled n times.