Question d’entretien chez Freshworks

Return a random value from array with probability proportional to its value