by _Codemonkeyism · 10y ago · 0 comments
'Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.'
It spells out in words what needs to be written in code.
String reverse is: Write a method/function that returns the reverse of it's argument. Would be interested to learn how these are trick questions.
If the solution is fine, I ask were they see problems. Some mention UTF-8/16. I'm happy if someone tells me this is tricky and there is a working solution in library X or they would google for a solution that works with UTF-8/16.