SoundHound Interview Question

Given function that gives random int between 1-5, write function that gives a random int between 1-7.

Interview Answer

Anonymous

Sep 11, 2020

Rand1-7=rand1-5+rand1-5/2