• 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
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • 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
  • Log In
  • Sign Up
dlemvigh Avatar
Name:David Lemvigh
Clan:DTU
Skills:c#, sql, knockout, js, mvc, .net
Member Since:Nov 2013
Last Seen:May 2022
Profiles:
Following:95
Followers:94
Allies:92
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (37)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • BredBul
    • commented on "Testing 1-2-3" javascript solution

    I'm sorry if I don't understand something, but this solution can pass test with empty array, isn't it?

  • Custom User Avatar
    • bullz
    • commented on "Testing 1-2-3" javascript solution

    Smart!

  • Custom User Avatar
    • renatozr
    • commented on "Testing 1-2-3" javascript solution

    What is the year of that solution?

  • Custom User Avatar
    • almrdog
    • commented on "Testing 1-2-3" javascript solution

    good work!

  • Custom User Avatar
    • dkallen78
    • commented on "Testing 1-2-3" javascript solution

    This is the first time my solution has matched the top solution! First time I've used array.map() as well.

  • Custom User Avatar
    • Neocortexx
    • commented on "Testing 1-2-3" javascript solution

    Actually, the machine only knows what it will do with every position where you write a 'name'. It doesn't in fact read the name, to it it's just a code that means "this position, which is named 'name' will be coded accordingly with that which the function 'map' is already preprogrammed to do".
    It's a common mistake when we are beginners trying understanding what is 'written', once that we humans are used to subjectively give written symbols intrinsic meaning, but the machine see things in a different way. You'll get used sometime, just don't give in.

  • Default User Avatar
    • rowcased
    • commented on "Testing 1-2-3" javascript solution

    you have to use the spoiler flag, otherwise everyone can see the code

  • Custom User Avatar
    • YordaniBonilla
    • commented on "Testing 1-2-3" javascript solution

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

  • Custom User Avatar
    • Blind4Basics
    • commented on "Testing 1-2-3" javascript solution

    spoiler flag, plz...

  • Custom User Avatar
    • dlemvigh
    • commented on "Testing 1-2-3" javascript solution

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

  • Default User Avatar
    • Del_Flumen
    • commented on "Testing 1-2-3" javascript solution

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

  • Default User Avatar
    • CSMole
    • commented on "Disemvowel Trolls" python solution

    after a kata forcing me to learn regex I now start to appreciate it a lot!
    "find pattern and do sth with it" vibe that regex methods give seems more readable than other methods (where lil setups scattered around & can be confusing at the beginning uh for a newbie like me)

  • Custom User Avatar
    • JohanWiltink
    • resolved an issue on "Count the connected components" kata

    Increased number of tests.

  • Custom User Avatar
    • e.mihaylin
    • resolved an issue on "No Love" kata

    cleaned up

  • Custom User Avatar
    • dlemvigh
    • created an issue for "No Love" kata

    The comment in the initial code says to move 1's to the end.

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.

    Get started now by creating a new collection.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection