Weekly Challenge #17
h
TheDrone7 (1776)

Hello again replers! We just finished our fourth series of weekly challenges and at the end of a month, @minx28 who was ranked 1st received 1 month of free hacker plan.

Today, we'll be starting another series of the weekly challenges and again, at the end of the month, whoever has the highest score, gets 1 month of free hacker plan!

That's it for the recap, moving forward, this week's challenge is given below!

WARNING : This is no longer beginner friendly!


Fibonacci Numbers

For those of you who don't know what it is, refer to this wikipedia page. The usual approach to calculating nth term of the series is either by using loops or recursion. For this week's challenge, you have to write a program that generates a user specified number of terms without using either of those 2 methods. No loops, no recursion.

The output only needs to have the Nth term.

Have fun with that one!

FAQ

  1. Are stdlib functions that might use looping or recursion behind the scenes allowed?
    A : Yes. But if you use them, you will lose 3 points from however much you get.

  2. Are external APIs or packages allowed?
    A : NO!

SUBMISSION

For submitting your codes for this challenge, you need to create a new post on repl talk share board and ensure that the post title contains #WEEKLY in it. The judging will go on throughout the week and as soon as the next post is made, the time window for submitting your code will end.


You can check out the last month's results here.

And that's it! Good luck with this week's weekly challenge and have fun!

You are viewing a single comment. View All
AmazingMech2418 (1039)

Ah... Time for some metaprogramming. LOL!

HahaYes (1862)

@AmazingMech2418 haha metaprogramming. That should be intresting

AmazingMech2418 (1039)

@HahaYes Thank you! I already did mine though. LOL!

HahaYes (1862)

@AmazingMech2418 oh you did. I'm thinking of starting this... I still have time right?

AmazingMech2418 (1039)

@HahaYes I think so. You better go fast though!