Ad
  • Custom User Avatar
  • Custom User Avatar

    this trick was fun :) nice kata

  • Custom User Avatar

    It was my first time seeing [,] in C#. Before I have only seen [][] for multidimensional arrys. Thanks for the lesson.

  • Custom User Avatar

    OP's latest code passed without error, closing

  • Custom User Avatar

    Solving tip != kata suggestion

  • Custom User Avatar

    Approved some time ago

  • Custom User Avatar

    Enabled in this fork

  • Custom User Avatar

    the condition that has an effect is only greater than 0, if there is something wrong in the random test

  • Custom User Avatar

    Return true if you have enough mana to cast the spell

    But you may need to cast many spells, so this is misleading. The description should mention that all the spells need to be casted.

  • Custom User Avatar

    So I think it happened because I was mutating the input. Someone fixed it at some point (the same code now passes).

  • Custom User Avatar

    Today, I want to share a pivotal moment in my coding journey that has transformed my understanding and appreciation of while loops. Not long ago, I found myself grappling with the complexities of these seemingly simple constructs. My mental models felt muddled, and I often struggled to visualize how they operated within my code. The frustration was real, and I was yearning for clarity.

    Then came THIS coding challenge that introduced me to the beauty of nested loops. As I engaged with the problem, something magical happened. One line of code led to another, and with each nested loop, I began to unravel the intricate dance of logic and flow. The once-confusing world of while loops became a vivid tapestry in my mind, each loop representing a vital thread in the action sequence I was constructing.

    In the process, I discovered that while loops don’t just execute a block of code—they echo the rhythm of our thoughts and actions. They represent a series of choices, each one leading us closer to a solution. As I worked through the challenge, I saw my ideas take shape and my confidence grow. I no longer viewed loops as mere constructs; instead, they became a harmonious sequence of actions, each contributing to a greater purpose.

    Now, I possess a clear, structured mental model of while loops and their nested counterparts. It’s as if a fog has lifted, revealing a pathway of logic that was once obscured. This experience has not only enhanced my coding skills but has also inspired me to embrace challenges with renewed enthusiasm. Each loop now symbolizes a journey, a series of decisions leading to discovery.

    Thank you, nested loops, for illuminating my path and reshaping my understanding. You've not only changed my approach to coding but have also fueled a passion that drives me to explore and learn even more. Here’s to the beauty of loops and the clarity they can bring to our minds!

  • Custom User Avatar

    Trick question regarding the initial wordset. Katas should be confined to testing knowledge of python rather than tricky stuff like the initial word List

  • Custom User Avatar

    OP solved it, closing

  • Custom User Avatar

    Description should be language-agnostic

  • Custom User Avatar
    • No sample tests in JS

    • Node 18. (mocha + chai) should be enabled

  • Loading more items...