Daily Coding Problem is a website which will send you a programming challenge to your inbox every day. I want to show beginners how to solve some o...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for sharing your solution! Quite an interesting challenge.
I tried to solve it using Haskell since I'm currently learning the language, and after a few mistakes I ended up with the following code:
As you can see, it's pretty short, and for me it looks very readable.
Have a nice day!
If there's one thing Java ain't, it's succinct. Great solution!
I have only 1 complaint, why did you stop posting :(
Stumbled across these recently and love them! Would love to see more of these from you!