• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Davide
Clan:University of Calabria
Member Since:Oct 2014
Last Seen:Oct 2018
Profiles:
Following:5
Followers:16
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (488)
  • Replies
  • Authored
  • Needs Resolution
    • contreras2
    • commented on "Maximum subarray sum" kata

    And here I am solving it by divide and conquer when there are such simple answers.
    Well atleast it served as practice and to see that there's always an easier way to do things.
    Thank to everyone who solved it, you all gave me good programming ideas.

    • Algerd
    • commented on "Maximum subarray sum" kata

    the logic of the kata is unclear:(

    • XRFXLP
    • resolved an issue on "Maximum subarray sum" kata

    ctrl-h -> \t -> four spaces

    • XRFXLP
    • resolved an issue on "Maximum subarray sum" kata

    You're code is obviously wrong, since I can see 76 in the array which qualifies as a sub-array on its own.

    • LikeMyDad
    • created an issue for "Maximum subarray sum" kata

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

    • Tyson Asda
    • created an issue for "Maximum subarray sum" kata

    IndentationError: unindent does not match any outer indentation level. I reseted it several times, still same issue

    • IT-Knight
    • created a question for "Maximum subarray sum" kata

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

    • Aborja-dev
    • created a question for "Maximum subarray sum" kata

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

    • Chrono79
    • resolved an issue on "Maximum subarray sum" kata

    Read QuantumRobotix's post below instead of opening another issue about the same. Try what I suggested there.

    • ajperttula
    • created an issue for "Maximum subarray sum" kata

    I'm also having an error "IndentationError: unindent does not match any outer indentation level". Works fine on vscode.

    • JoJo10Smith10
    • created a suggestion for "Maximum subarray sum" kata

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

    • JoJo10Smith10
    • commented on "Maximum subarray sum" kata

    Hi, if you have not yet got an answer to your question/ figured it out yet, I beleive you have copied the incorrect sequence. there should be a 4 where you put a 5 instead ie:

    [-2, 1, -3, 4, -1, 2, 1, -5, 4]

    not
    [-2, 1, -3, 5, -1, 2, 1, -5, 4]

    making the max sub-array [4, -1, 2, 1] which would be equal to 6.
    Hope this helps

    • Chrono79
    • resolved an issue on "Maximum subarray sum" kata

    Click reset, start over (chose either spaces or tabs), I've tried it myself and I didn't get that error.

    If you still get that error, post your code here, following these instructions: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#post-discourse

    • QuantumRobotix
    • created an issue for "Maximum subarray sum" kata

    I keep receiving the following error when I attempt to write a for loop in my code for Python:

    IndentationError: unindent does not match any outer indentation level

    I'm completely stumped on how to fix this, and tried using spaces and tabs for my indentation but to no avail.

    • ejini战神
    • resolved a question on "Maximum subarray sum" kata

    The second loop should loop until the last element of the list

    Anyways "looks like u solved it"

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

Confirm

  • Cancel
  • Confirm