• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:አወል እሸቱ
Clan:አወል እሸቱ
Skills:gmo
Member Since:Mar 2016
Last Seen:Feb 2021
Profiles:
    Following:14
    Followers:43
    Allies:8
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (1301)
    • Replies
    • Authored
    • Needs Resolution
      • akar-0
      • commented on "Binary multiplication." kata

      The task is really easy but the description is incomprensible.

      Here is what is to be done, in, I hope, clearer words: You're given two integers. Let m be the largest and n the smallest. While m is superior to 0, at each step you must divide m by 2 (integer division), if there is rest on the division, you must add the product of n by the rest to a list (since the rest is always 1, it is equivalent to simply add n to the list), then multiply n by 2 in all cases. Eventually return the reversed list.

      • 1Stas
      • commented on "Stanton measure" kata
      [1,1,1,3] = 111 = [3] = 1
      [1,1,1,1,1,3,3,6,6,6,5,5] = 11111 = 5 = [5,5] = 2
      • Meet_Snowmaker
      • created a suggestion for "Holy cats" kata

      I would rate it harder if this challenge could not be bypassed without regex

      • XRFXLP
      • created an issue for "Wise drunk man" kata

      Please use new python test framework.

      • eqkwizard
      • commented on "Diophantine Equation" python solution

      It's not necessary to check (I+j)% == 0

      • strider33
      • commented on "Stanton measure" kata

      I don't understand the question.

      • kar-dim
      • commented on "nextPerfectSquare" kata

      oh ok, I guess there is another method then! I can't think of any though hmm, anyway thanks!

      • hobovsky
      • commented on "nextPerfectSquare" kata

      Why loop though?

      • kar-dim
      • commented on "nextPerfectSquare" kata

      C: there is timeout error with a very simple loop (it passes the tests). Can anyone confirm if it is solvable?

      • aliasfox
      • commented on "Palindrome Strings" python solution

      It's a way in Python to reverse a value, so basically it's doing a boolean evaluation (True/False) against whether the string values are the same forward and backwards, a.k.a a "Palindrome".

      • natan
      • commented on "Palindrome Strings" python solution

      https://docs.python.org/3/library/functions.html#slice

      • rahulbali
      • commented on "Palindrome Strings" python solution

      Can you please explain what is [::-1] doing ?

      • SudoAjay
      • commented on "Stanton measure" kata

      count the number of 1s in the array. Let this count be n. The Stanton measure is the number of times that n appears in the array.

      Just try to understand this :)

      in Simple english - whatever the occurnce of 1 come in array will be x and then find that occurnce of x in array

      • theDreamer911
      • commented on "nextPerfectSquare" kata

      I got it, what it's mean--- never using array at all. Using operation inside memory

      • aa-ag
      • commented on "Odd-heavy Array" kata

      I got the exact same, @lepasi (:

    • Loading more items...
    • © 2021 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Contact
    • powered by

    Confirm

    • Cancel
    • Confirm