• 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
monkeymonks Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2020
Last Seen:Oct 2020
Profiles:
    Following:5
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (35)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Gabrango
      • commented on "Reverse words" python solution
      • 3 years ago

      I didn't understand those explanations

    • Custom User Avatar
      • Yuri-1525
      • commented on "Cat years, Dog years" python solution
      • 3 years ago

      Yeah, people need to learn the difference between unnecessarily complicated code that they think it looks cool and best practices

    • Custom User Avatar
      • QueenSalis
      • commented on "Going to the cinema" kata
      • 5 years ago

      you actually never really round, only check "if I rounded now, will it be bigger?"
      but the continue working with un-rounded values

    • Custom User Avatar
      • monkeymonks
      • commented on "Roman Numerals Decoder" kata
      • 5 years ago

      Great kata, thank you!

    • Custom User Avatar
      • monkeymonks
      • commented on "Which are in?" python solution
      • 5 years ago

      Clever solution! Can someone please walk through this code?

    • Custom User Avatar
      • monkeymonks
      • commented on "Cat years, Dog years" python solution
      • 5 years ago

      Best practice - really?

    • Custom User Avatar
      • monkeymonks
      • commented on "Format a string of names like 'Bart, Lisa & Maggie'." python solution
      • 5 years ago

      Wow, what a clever solution!

    • Custom User Avatar
      • monkeymonks
      • commented on "Delete occurrences of an element if it occurs more than n times" python solution
      • 5 years ago

      Can someone explain this solution please?

    • Custom User Avatar
      • monkeymonks
      • commented on "Tribonacci Sequence" python solution
      • 5 years ago

      Sorry if I'm mistaken, but aren't you also mutating the input (signature) in your solution?

    • Custom User Avatar
      • monkeymonks
      • commented on "Duplicate Encoder" python solution
      • 5 years ago

      Awesome solution! Do you mind breaking it down and walking through it? Would highly appreciate it.

    • Custom User Avatar
      • monkeymonks
      • commented on "Sum squares of numbers in list that may contain more lists" python solution
      • 5 years ago

      Thank you for the explanation, it was very helpful! I'm about to start watching the youtube video as well!

    • Custom User Avatar
      • nmburaleh
      • commented on "Sum squares of numbers in list that may contain more lists" python solution
      • 5 years ago

      Thank you for your kind words! I'll give it a shot!

      So we recursively walk down the list, whose elements may be a integer or a list (or a list of a list..etc).

      If we come across an int, that means we can square it (hence l*l).
      If not, that means we have a list on our hands, which we can iterator over, which we do in the
      'recursion condition'.

      The base condition is what we are recursively 'working towards' by traversing list inside lists until we hit the int 'jackpot'.

      A Python Youtuber has an excellent playlist on recursion implemented in Python. Please check it out for further understanding: https://www.youtube.com/playlist?list=PLGKQkV4guDKHyAbnx6w4eSTetVG2vVeDG

    • Custom User Avatar
      • monkeymonks
      • commented on "Compare Strings by Sum of Chars" python solution
      • 5 years ago

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

    • Custom User Avatar
      • monkeymonks
      • commented on "Sum squares of numbers in list that may contain more lists" python solution
      • 5 years ago

      Awesome solution! Can you please walk me through it? What does returning l * l in the first condition do exactly?

    • Custom User Avatar
      • monkeymonks
      • commented on "Going to the cinema" kata
      • 5 years ago

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

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...