• 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
goofballLogic Avatar
Name:Andrew Stewart Gibson
Clan:James' clan
Member Since:Jun 2016
Last Seen:Aug 2017
Profiles:
Following:11
Followers:15
Allies:10
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (14)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Michaeljaurigue
    • commented on "Counting sheep..." javascript solution
    • 2 years ago

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

  • Custom User Avatar
    • Hachikoi-the-creator
    • commented on "Counting sheep..." javascript solution
    • 3 years ago

    those magic numbers tho

  • Custom User Avatar
    • tuycod
    • commented on "Counting sheep..." javascript solution
    • 4 years ago

    Why not?
    There is no exact rule about const

  • Custom User Avatar
    • farhanaditya
    • created an issue for "An 'orrible expression on 'is face" kata
    • 4 years ago

    JS: Node v12 should be used enabled along with its appropiate assertion tools (Mocha + Chai).

  • Custom User Avatar
    • myjinxin2015
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    OK, I think this is a simple way to help me to improve the descrption(I'm a lazy man, I love copy&paste ;-)

  • Custom User Avatar
    • goofballLogic
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    I think I made it worse :(

    How about:

    Do you know Collatz conjecture? Click here, You can read some details..

    Given the following algorithm

    If number x is even, x = x / 2
    else if x is odd, x = x * 3 + 1
    

    Find all the numbers which resolve to a specified number (y) when the algorithm is applied a specified number of times (n).

    Sort the results in ascending order.

    For example:

    Find all the numbers which resolve to 1 (y = 1) after 5 applications of the algorithm (n = 5).
    (in accordance with the rules of the Collatz conjecture)

    reversalCollatz(5,1) === [4,5,32] 
    

    4 -> 2 -> 1 -> 4 -> 2 -> 1

    5 -> 16 -> 8 -> 4 -> 2 -> 1

    32 -> 16 -> 8 -> 4 -> 2 -> 1

  • Custom User Avatar
    • myjinxin2015
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    OK, I modified the description(Even though I don't fully understand what it means ;-). How about the new description?

  • Custom User Avatar
    • myjinxin2015
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    Yes,I can see the image now, let me look into it..

  • Custom User Avatar
    • goofballLogic
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    try http://i1044.photobucket.com/albums/b450/goofballlogic/nimbus-image_zpscx3jctwp.png ?

  • Custom User Avatar
    • myjinxin2015
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    Soooorry, I can't open your link, because I come from China, a lot of link often like this(can not open and view)

  • Custom User Avatar
    • goofballLogic
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    I added some suggestions here: http://nimb.ws/wxWYl6 (links to google drive image)

  • Custom User Avatar
    • myjinxin2015
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    I don't know which part is unclear, about Collatz conjecture or Kata's task?

  • Custom User Avatar
    • goofballLogic
    • commented on "T.T.T.37: Reversal of Collatz" kata
    • 9 years ago

    Formatting of the description is very hard to grok. Need to work on presentation.

  • Custom User Avatar
    • goofballLogic
    • commented on "The range() function" kata
    • 9 years ago

    Going to not complete this on purpose :) Bad kata i think.

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...