• 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
ygorbunkov Avatar
Name:Yevgen Gorbunkov
Clan:Unknown
Skills:javascript, es6, jquery, nodejs, reactjs, mongodb, postgresql, postgis, linux
Member Since:Jul 2019
Last Seen:Sep 2021
Profiles:
Following:0
Followers:3
Allies:0
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (117)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • titanchinzo
    • commented on "Sum of positive integers 0 through N that are divisible by 3 or 7" kumite

    okey thank you

  • Custom User Avatar
    • neuronupheaval
    • commented on "Sum of positive integers 0 through N that are divisible by 3 or 7" kumite

    This does not scale well. Have you tried any n greater than 1,000,000?
    Besides, your for loop should start with int i = 3 obviously because this is the first divisible number by 3.

  • Custom User Avatar
    • neuronupheaval
    • commented on "Sum of first N positive integers that are divisible by 3 or 7" kumite

    Indeed, 33, 35, and 42 are struck-through, so they are not being taken into account.

  • Custom User Avatar
    • ygorbunkov
    • commented on "Sum of first N positive integers that are divisible by 3 or 7" kumite

    There's, clearly, a mistake in the example. Considering eligible numbers (divisible by 3 or 7) must not exceed N (30 in your example), 33, 35, 42 should be excluded. Furthermore, because of that the actual sum of #1, #2, #3 must be greater, which is most obvious for #3.

  • Default User Avatar
    • B1ts
    • commented on " Kumite " kumite

    I still don't understand how [[a]] extracts the first character without using spread operator o_O

  • Custom User Avatar
    • rowcased
    • commented on " Kumite " kumite

    ok, thanks for pointing that out

  • Default User Avatar
    • B1ts
    • commented on " Kumite " kumite

    Nice!

  • Custom User Avatar
    • user8436785
    • commented on " Kumite " kumite

    done

  • Default User Avatar
    • B1ts
    • commented on " Kumite " kumite

    Let's golf :D

  • Custom User Avatar
    • ygorbunkov
    • commented on " Kumite " kumite

    This one will drop off words beyond 3-rd (e.g. double-barrelled surname divided by space instead of hyphen), so 3 extra dots seems to be a reasonable cost.

  • Custom User Avatar
    • Chrono79
    • commented on "What is between?" javascript solution

    Use spoiler flag next time please.

  • Custom User Avatar
    • ygorbunkov
    • commented on "What is between?" javascript solution

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

  • Custom User Avatar
    • ttakuru88
    • commented on "Get iterated digit sum" kumite

    fail?

    solution1('123')
    => 6
    solution2('123')
    => 6
    solution3('123')
    => 150

  • Custom User Avatar
    • user8436785
    • commented on "Get iterated digit sum" kumite

  • Custom User Avatar
    • pawptart
    • commented on "Get iterated digit sum" kumite

    EmBRACE the curly braces...

  • 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