• 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
brysonandrew Avatar
Name:Andrew Bryson
Clan:Unknown
Member Since:Nov 2019
Last Seen:Oct 2022
Profiles:
Following:11
Followers:2
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (14)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • alexgabriel8
    • commented on "Find the smallest integer in the array" typescript solution
    • 15 months ago

    While people are rightfully pointing out why this solution is not recommended, I enjoyed seeing a new way to solve the problem.

  • Custom User Avatar
    • DekiGk
    • commented on "Find the smallest integer in the array" typescript solution
    • 3 years ago

    This one is not safe as it will mutate the array coming in (it is not a pure function). It is better to spread it into a new array and return the first item in that array and leave the original one untouched.

  • Custom User Avatar
    • brysonandrew
    • commented on "Compromised Parthenon" kata
    • 4 years ago

    @Voile I completely agree with the usefulness of a diagram and I did consider it, however overall I thought it would make things too obvious and easy.

  • Custom User Avatar
    • dfhwze
    • commented on "Compromised Parthenon" kata
    • 4 years ago

    The user did say it was "related" to the golden ratio, and the kata is flagged as "puzzle".

  • Custom User Avatar
    • Voile
    • commented on "Compromised Parthenon" kata
    • 4 years ago

    It'd be infinitely more useful to put a diagram about the various things. It's still a paragraph vaguely describing the requirement rather than explicitly stating how it is calculated.

  • Custom User Avatar
    • brysonandrew
    • commented on "Basic Proof of Stake" kata
    • 4 years ago

    @Voile, I'll try and think of another way of writing this, thank you for the feedback

  • Custom User Avatar
    • brysonandrew
    • commented on "Compromised Parthenon" kata
    • 4 years ago

    @Voile, I've updated the description, let me know if I missed anything,thank you

  • Custom User Avatar
    • brysonandrew
    • commented on "Compromised Parthenon" kata
    • 4 years ago

    Thank you @Voile for the feedback, I will fix this

  • Custom User Avatar
    • Voile
    • created an issue for "Compromised Parthenon" kata
    • 4 years ago

    The clue part is not a clue, it's an essential part of the information (otherwise how should anyone figure out what even is the task without looking at the test cases?). But then this paragraph is pretty useless at explaining the task, so it really should be rewritten. e.g:

    They are all connected to the golden ratio when the length and height represent the golden ratio, ie/ length = 13 and height = 8.

    How is 13 / 8 the golden ratio (1.618033...)?

  • Custom User Avatar
    • Voile
    • created an issue for "Basic Proof of Stake" kata
    • 4 years ago

    To calculate this you need to find the validator that matches the hash mod total stake of all validators.

    Can the description be more useless than this?

    The hash is 4 bytes while the array consists of 2 bytes of numbers, so what does it mean to mod them? (Doing it the obvious way doesn't lead to anything.) What does it mean for a validator to "match"? Why is chosenValidator("21e66e37e", [25,5,20,25,20,5]) equal to 4 if both 2 and 4 are 20? There are so many questions.

  • Custom User Avatar
    • brysonandrew
    • commented on "Shorten Me: Array Declaration IV (1-30)" javascript solution
    • 4 years ago

    Very cool

  • Custom User Avatar
    • brysonandrew
    • commented on "Knight's tour problem on (N x M) desk" kata
    • 4 years ago

    Remember you only need to return a boolean, so you don't really need mathematics at all, simply an understanding of probability

  • Custom User Avatar
    • brysonandrew
    • commented on "Catching Car Mileage Numbers" typescript solution
    • 4 years ago

    Just removed the hack, this version should be deleted

  • Custom User Avatar
    • brysonandrew
    • commented on "Catching Car Mileage Numbers" typescript solution
    • 4 years ago

    I thought 120 should be included as an incrementing number... Now I realise the trailing "0" should only come after "9"... Hence my hack arr.join('') !== '120'

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...