• 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
Lex88 Avatar
Name:Alexandru Popa
Clan:Unknown
Skills:python, django, git, html5, css, javascript
Member Since:May 2020
Last Seen:Jan 2024
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (38)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Tyranael
    • commented on "Is it a number?" python solution
    • 8 months ago

    Wat kinda trickery is dat ?

  • Custom User Avatar
    • AndrewBaisho
    • commented on "Is it a number?" python solution
    • 3 years ago

    Agreed, I had thought about this but understood that it wouldn't cut the mustard.

  • Custom User Avatar
    • RandomNpc
    • commented on "Is it a number?" python solution
    • 3 years ago

    This solution is illegal

  • Custom User Avatar
    • TronMonstar
    • commented on "Convert a string to an array" python solution
    • 3 years ago

    I was so frustrated trying to figure this out. Gave in and tested the top rated solution only to get this. Way she goes.

  • Custom User Avatar
    • realefs
    • commented on "Is it a number?" python solution
    • 4 years ago

    or '--5'

  • Custom User Avatar
    • lxg95
    • commented on "Drone Fly-By" python solution
    • 4 years ago

    nice how such riddles can actually teach people things better than any university

  • Custom User Avatar
    • Ahmed_Devil666
    • commented on "Total amount of points" kata
    • 4 years ago

    dud i'm not gona waste 15 minute to learn some stuf not gonna add any knolage to me to just solve one single keta!!!

  • Custom User Avatar
    • Rico-Strenburg
    • commented on "Drone Fly-By" python solution
    • 4 years ago

    i feel f stupid after seeing this.

  • Custom User Avatar
    • KPH3802
    • commented on "SpeedCode #2 - Array Madness" kata
    • 5 years ago

    I made the same mistake. It is:

    "true if the sum of the squares of each element in a is strictly greater than the sum of the cubes in b." So cubes for "b" not squares.

  • Custom User Avatar
    • Roanlb
    • commented on "ORing arrays" kata
    • 5 years ago

    On researching bitwise operators it seems they apply to binary digits not decimal digits. I understand the output of OR is 1 if either of the inputs are 1 and 0 if both of the inputs are 0. How does this apply to decimal digits?

  • Custom User Avatar
    • qmstuart
    • commented on "ORing arrays" kata
    • 5 years ago

    Can you check your clojure solution

    (or [4, 5] [2 3 1 0 6 0 5 6 2 3]) -> [2 3 1 0 6 0 5 6 6 7] can only work if you pad the zeros at the start BUT
    (or [1 2 3] [1 2]) -> [1 2 3] can only work if you pad the zeros at the end...

  • Custom User Avatar
    • qmstuart
    • commented on "ORing arrays" kata
    • 5 years ago

    Can someone explain this test case to me please ?

     [4, 5] and [2 3 1 0 6 0 5 6 2 3] -> [2 3 1 0 6 0 5 6 6 7]
    

    The [4 5] gets padded to
    [4 5 0 0 0 0 0 0 0 0]

    since their is no default provided. Then we OR each element

        [4 5 0 0 0 0 0 0 0 0]
     or [2 3 1 0 6 0 5 6 2 3]
    

    How is 4 or 2 = 2, How is 5 or 3 = 3 ?

    I would have thought the result here should have been

       [6 7 1 0 6 0 5 6 2 3]
    

    What am I misunderstanding?

    I thought maybe it wanted padded on the left, but there is another test case

     (or [1 2 3] [1 2]) -> [1 2 3]
    

    And if we pad on the left, that test case breaks. As you would have to pad on teh right to get that result.

    This is in the Clojure version.

  • Custom User Avatar
    • LaPy
    • commented on "ORing arrays" kata
    • 5 years ago

    I say so!
    Stupid condition, nothing is clear from it (((

  • Custom User Avatar
    • Lex88
    • commented on "ORing arrays" kata
    • 5 years ago

    Who talks like that?! The whole description is awful...

  • Custom User Avatar
    • anter69
    • commented on "Evens and Odds" python solution
    • 5 years ago

    Format Specification Mini-Language

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...