Julien Meddah

Greenhorn
+ Follow
since Mar 30, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Julien Meddah

Here is my take on it :


I wouldn't go so far as to call it "good" but it has multiple things going on for it, like :
- It's short
- It's in Java.
- No explicit imports, so it's "pure" Java actually
- No conditions, only one loop
- No fancy FP stuff
- No "FizzBuzz" special case, "Fizz" or "Buzz" only

But of course you have to decipher the 2d array, recognize "^$" as an empty string regex, pass over some redundancies ...


[EDIT] Something actually simpler:
11 years ago