RVI Group Interview Question

Simple math/statistics and one easy coding question