• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
jalovatt Avatar
Name:Lokasenna
Clan:Unknown
Member Since:Jul 2018
Last Seen:Dec 2022
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
Ad
How many Kata did you complete in 2024?
Discover our top moments in 2024 and how you can level up in 2025.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (21)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • choogoor
    • commented on "Tribonacci Sequence" javascript solution
    • 3 years ago

    I like this one as well. Pretty much clean, but I think that we are missing this part "Signature will always contain 3 numbers;"

  • Custom User Avatar
    • fullstackjackson.com
    • commented on "Tribonacci Sequence" javascript solution
    • 3 years ago

    I like this answer a lot.

  • Custom User Avatar
    • tDwtp
    • commented on "Directions Reduction" lua solution
    • 5 years ago

    You should replace arr = reducepairs(arr) to return reducepairs(arr).

    This way you would get a tail-call and avoid stack overflows.

    If no move is found it will return arr anyway and the call is already there.

  • Custom User Avatar
    • ErikNPeterson
    • commented on "Tribonacci Sequence" javascript solution
    • 6 years ago

    This is a great solution! Very clean and a creative use of the slice() method.

  • Custom User Avatar
    • jalovatt
    • commented on "Rail Fence Cipher: Encoding and Decoding " kata
    • 7 years ago

    Man, I expected to see a lot of golfy solutions compared to mine, but holy shit. Ruby has way too many handy array functions for its own good. I guess I get nerd points for being the only one (I think) who did it with trig...

    Lovely kata, forgot to eat dinner because I couldn't pry myself away.

  • Custom User Avatar
    • jalovatt
    • commented on "The observed PIN" kata
    • 7 years ago

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

  • Custom User Avatar
    • jalovatt
    • commented on "A Man and his Umbrellas" kata
    • 7 years ago

    The Ruby tests have an extra weather type - "overcast" - that isn't given in the instructions.

  • Custom User Avatar
    • ShinuToki
    • commented on "Simple assembler interpreter" kata
    • 7 years ago

    Can you post your code marked as spoiler? Maybe I can help you.

  • Custom User Avatar
    • voxqhuy
    • created a suggestion for "Feature Requests" topic
    • 7 years ago

    I cant use swift 4?
    On this https://www.codewars.com/kata/descending-order/train/swift;
    this https://www.codewars.com/kata/toleetspeak/train/swift
    and a lot others I have tried. Swift 4 is deactivated on all those katas.
    Can we somehow have swift 4 enabled for all these katas?

  • Custom User Avatar
    • jalovatt
    • commented on "Easy wallpaper" kata
    • 7 years ago

    Not sure if you've figured it out in the meantime, but since this comment thread helped me get the right answer I figured I should return the favor:

    Where does wallpaper go?

  • Custom User Avatar
    • jalovatt
    • commented on "Easy wallpaper" kata
    • 7 years ago

    This. Or, in keeping with the real-world problem being described:

    "l, w, and h should be positive values, but John has been to known make mistakes when writing his measurements down. Be sure to let him know that he shouldn't buy any wallpaper if you notice an error."

  • Custom User Avatar
    • jalovatt
    • created a suggestion for "Feature Requests" topic
    • 7 years ago

    The Katas page would benefit, IMO, from a filter for "show only katas I haven't completed in the specified language".

    • "Katas I haven't completed" hides those that I've gone through in Lua even though I have Language set to Kotlin.

    • "All katas" shows everything available for Kotlin, but a big shiny checkmark for the ones I've done in Lua.

    Alternatively, or in addition, the "completed" checkmark might make more sense as a checkmark/aura/something overlaid on the language icon(s) that have been completed.

  • Custom User Avatar
    • jalovatt
    • commented on "Simple assembler interpreter" kata
    • 7 years ago

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

  • Custom User Avatar
    • jalovatt
    • commented on "Esolang Interpreters #2 - Custom Smallfuck Interpreter" kata
    • 7 years ago

    The Lua version desperately needs these tests. I was at a complete loss until I found these.

  • Custom User Avatar
    • jalovatt
    • commented on "Simple division" kata
    • 7 years ago

    Some further Googling later, and eventually having to borrow a few lines from Rosetta, I figured it out. Thanks.

    IMO "you should not have to generate a list of prime numbers" should be in the description, as the correct solution(s) are still somewhat technical anyway.

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...