Discover Dollar interview question

they directly started asking about aptitude type question