• 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
ilash Avatar
Name:Marcus Lassila
Clan:Washed up physicists
Member Since:Sep 2020
Last Seen:Jun 2025
Profiles:
Following:2
Followers:33
Allies:2
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (224)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • KingYusuf
    • commented on "Subarrays with an odd number of odd numbers" kata
    • 7 days ago

    sliding window maybe

  • Custom User Avatar
    • ellickau
    • commented on "Mean Square Error" python solution
    • 6 months ago

    LoL

  • Custom User Avatar
    • ddc.rug
    • commented on "Simple Fun #10: Range Bit Counting" python solution
    • 7 months ago

    likely to use a machine instruction underneath; prefer this over the current top solution

  • Custom User Avatar
    • Moore0724
    • commented on "Subarrays with an odd number of odd numbers" kata
    • 15 months ago

    Would appreciate if we can have few more examples explaining some more cases. Or at least a link where you can learn more about subarray contiguious subsequence or some direction. For example, how did [1,1] only gives you 2 not 3 ('[1,1],[1],[1]' no?) and [1,2,3,3,2,1] is not 10 ([1,2,3,3,2,1], [1,2],[2,3],[3],[3,2],[2,1],[1],[3],[3],[1]) but 12.

  • Custom User Avatar
    • fayzullo9117
    • commented on "Hells Kitchen" python solution
    • 17 months ago

    Best answer

  • Custom User Avatar
    • YoussefAdel080
    • commented on "Longest Subarray with Maximum Average Value" kata
    • 2 years ago

    how can i determine the highest avg before i even start lookin in the array
    i solved it with big O of n^2 and it runs out of time

  • Custom User Avatar
    • dfhwze
    • commented on "Longest Subarray with Maximum Average Value (Challenge Version)" kata
    • 2 years ago

    no longer mender?

  • Custom User Avatar
    • saudiGuy
    • created a suggestion for "Longest Subarray with Maximum Average Value (Challenge Version)" kata
    • 2 years ago

    The generation of test cases for random tests is taking too much time. It would be beneficial to optimize the time required for this process. You can find more information on this topic here.

  • Custom User Avatar
    • H0neyB4dger
    • commented on "Longest Subarray with Maximum Average Value" kata
    • 2 years ago

    Nice one

  • Custom User Avatar
    • mKazak
    • commented on "Sort the Bytes" kata
    • 2 years ago

    Hello, you have a hint in default argument name "uint32". Print the bytes you got and look for a differences when you pass and when you fail.

  • Custom User Avatar
    • Cloud Walker
    • created a question for "Sort the Bytes" kata
    • 2 years ago

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

  • Custom User Avatar
    • ilash
    • resolved a suggestion on "Subarrays with an odd number of odd numbers" kata
    • 2 years ago

    Approved.

  • Custom User Avatar
    • 66
    • commented on ""Subarrays with an odd number of odd numbers" C++ Translation"
    • 2 years ago

    Should be fixed now.

  • Custom User Avatar
    • ilash
    • commented on ""Subarrays with an odd number of odd numbers" C++ Translation"
    • 2 years ago

    The updates to the description needs fixing, see conditional-rendering. I think the part "50 performance tests, with arrays of size 500 000." is the only thing that needs to be conditioned on language, and it should preferably not be in a language code block.

  • Custom User Avatar
    • 66
    • commented on ""Subarrays with an odd number of odd numbers" C++ Translation"
    • 2 years ago
    1. The stringizer is now fixed to print first 200 numbers for large tests.
    2. Size increased to 5 x 10^5. Amount of large tests increased to 50. Should be enough to filter inefficient solutions.
  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...