Welcome to the Coding Challenge.
Here i shall upload a coding challenge every times which can be few you can resolve. You will see ones that are simple difficult people, pretty blended.
Here I will post a coding challenge every few days that you can solve. There will be easy ones and hard ones, pretty mixed
how exactly does it work?
Make an effort to resolve the challenge in whatever language you will find suitable
You need to use a new language you always wanted to discover or show your golfing abilities off
Post a remark containing your code (in code right here
) and some home elevators how the code works or what's remarkable
Optional: develop a post aided by the label #coding-solution
For the reason that post walk other users through the process of solving your challenge. By doing this they are able to discover and give it a try on the next one
Optional: Read and review other peoples code, look for bugs, give feedback and discover
Why also bother?
Training is everything, the greater amount of you train your mind to consider in code, the higher you are ready
You could discover a couple of tricks being new learning other solutions
I am going to send strategies for really solutions which are goodand use the fluid rewards of this post for it too)
You will get recruited if some body likes your code (f.e. I'm searching for talents)
Challenge # 1 – FizzBuzz
This challenge is a pretty the one that is basic however the devil is based on the detail.
Implement a fizzbuzz function taking an integer n that abides to these specifications:
if letter is just a several of 3, print Fizz
if n is really a several of 5, printing Buzz
if letter is really a multiple of 3 and a multiple of 5, print FizzBuzz
in all other cases print the number
Also create a snippet or function that is primary phone calls fizzbuzz for many values from 0 to 100, ascending.
Remarks:
If you utilize a pure language that is functional try coming back a sequence instead of employing a printing Monad (both are allowed)
Bonus points for:
handling side situations
good coding practices and modularity
of good use and tests which can be meaningful
stunning (readable, self-documenting) rule
Please keep consitently the #coding-challenge tag clean of solutions.
are you kidding me?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit