I saw one that worked by finding the right seed for an RNG, then for int ii from 0 to 100 { print [ "Fizz", "Buzz", "FizzBuzz", ii ][rand.nextInt() % 4] }
Another one, that I want to do myself, used a genetic algorithm to evolve an array containing the correct sequence of strings.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I saw one that worked by finding the right seed for an RNG, then
for int ii from 0 to 100 { print [ "Fizz", "Buzz", "FizzBuzz", ii ][rand.nextInt() % 4] }Another one, that I want to do myself, used a genetic algorithm to evolve an array containing the correct sequence of strings.