Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I wouldn't judge "these math katas" so harshly. I understand you're struggling, but through these struggles you grow. Math katas are fundamentally very important since they teach you one of the most important concepts in programming: analyze your problem thoroughly before trying to solve it.

    By the way, if you take a basic Algorithms and Data Structures course, a variation of this kata will probably be one of the first problems you will study.

  • Default User Avatar

    Hey @gleb4dead and welcome to Codewars;

    Just to say that if you are new to the site and currently using the "Next Challenge" feature to navigate the site, it will offer you a mix of different katas; however if there are specific kinds of katas you want to practice or avoid (the mathematics ones in this case), you can use the Search page:

    https://www.codewars.com/kata/latest/my-languages?beta=false

    where you can choose to train on the kind of topics you are interested in.

    You can use the Tags menu - here you have the mathematics tag which tells you it's mathematics themed - to practice recursion or algorithms, or whatever topic you want, using the appropriate tag.

  • Default User Avatar

    I hate this math katas, because instead of writing code or thinking about logic of the function.
    You like a true dumbass trying to figure out the description and this Fibonacci archive that is older than my grandma, instead of just a link to Wikipedia.
    And you can call me dumb all you want, but I think these "math" katas are the worst way to practice programming.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution