func AddOne(features []int, featuresMaxPosition []int) {
	for i := len(features) - 1; i >= 0; i-- {
		features[i] = (features[i] + 1)
		if features[i]/featuresMaxPosition[i] == 0 {
			break
		}
		features[i] = features[i] % featuresMaxPosition[i]
	}
}
// AddOne add 1 to the features slice
AddOne add 1 to the features slice
// AddOne add 1 to the features slice
func AddOne(features []int, featuresMaxPosition []int) {
	for i := len(features) - 1; i >= 0; i-- {
		features[i] = (features[i] + 1)
		if features[i]/featuresMaxPosition[i] == 0 {
			break
		}
		features[i] = features[i] % featuresMaxPosition[i]
	}
}
func AddOne ( features [ ] int , featuresMaxPosition [ ] int ) { for i := len ( features ) - 1 ; i >= 0 ; i -- { features [ i ] = ( features [ i ] + 1 ) if features [ i ] / featuresMaxPosition [ i ] == 0 { break } features [ i ] = features [ i ] % featuresMaxPosition [ i ] } }
AddOne add 1 to the features slice
AddOne add 1 to the features slice