• 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
danielzaiser91 Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2020
Last Seen:Feb 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored (49)
  • Needs Resolution
  • Custom User Avatar
    • danielzaiser91
    • commented on "Calculator" javascript solution
    • 4 years ago

    recursive nightmare :D

  • Custom User Avatar
    • danielzaiser91
    • commented on "Strip Comments" javascript solution
    • 4 years ago

    kudos if this was on purpose, else i recommend checking out regexp :)

  • Custom User Avatar
    • danielzaiser91
    • commented on "Sum of Intervals" javascript solution
    • 4 years ago

    can someone help me calculate Time Complexity for this?
    We have 3 loops:

    1. for-loop over m.length -> O(m.length)
    2. for-loop for every range in m -> O(m.length * m[1]-m[0])
    3. indexOf until first match or end of arr -> O(<m.length)

    idk how the notation goes, but this is my best guess.
    Please help, because i would like to learn :)

  • Custom User Avatar
    • danielzaiser91
    • commented on "Sum of Intervals" javascript solution
    • 4 years ago

    hahahaha, thank you for the laugh, this is also one way to do it, just hack the math.random function and manipulate the test cases, hahaha

  • Custom User Avatar
    • danielzaiser91
    • commented on "Sum of Intervals" javascript solution
    • 4 years ago

    i can't believe i wasn't able to find this solution...

    kudos to you

  • Custom User Avatar
    • danielzaiser91
    • commented on "Path Finder #1: can you reach the exit?" javascript solution
    • 4 years ago

    This solution works but took 9s for the big maze test case (which is close to the 12s limit);
    so there is room for optimization, would like to hear some nice suggestions :)

  • Custom User Avatar
    • danielzaiser91
    • commented on "String incrementer" javascript solution
    • 4 years ago

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

  • Custom User Avatar
    • danielzaiser91
    • commented on "String incrementer" javascript solution
    • 4 years ago

    how does this work? please explain

  • Custom User Avatar
    • danielzaiser91
    • commented on "Deep Assignment" kata
    • 4 years ago

    resubmitting 5 times, did not work...

  • Custom User Avatar
    • danielzaiser91
    • created an issue for "Deep Assignment" kata
    • 4 years ago

    last test fails, even tho it works locally when i copy paste inputs for the last test (the one with 300 nesting)

    3h wasted damn...

    please fix...

  • Custom User Avatar
    • danielzaiser91
    • commented on "Simple Fun #27: Rectangle Rotation" kata
    • 4 years ago

    need hints how to solve this, i am a programmer not a math geek :(

  • Custom User Avatar
    • danielzaiser91
    • commented on "Car Park Escape" kata
    • 4 years ago

    it should note, that start is not necessarily on the top floor

  • Custom User Avatar
    • danielzaiser91
    • commented on "L1: Set Alarm" javascript solution
    • 4 years ago

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

  • Custom User Avatar
    • danielzaiser91
    • commented on "Backspaces in string" javascript solution
    • 4 years ago

    interesting, in my first attempt i had this same soluton but it timed out for me

  • Custom User Avatar
    • danielzaiser91
    • commented on "Grasshopper - Grade book" javascript solution
    • 4 years ago

    -5 and you save yourself 5 F characters ;)

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...