Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about the MaxSubArraySum problem #47

Open
crevillo opened this issue Dec 23, 2019 · 1 comment
Open

question about the MaxSubArraySum problem #47

crevillo opened this issue Dec 23, 2019 · 1 comment

Comments

@crevillo
Copy link

hello. I've got a question about this problem. probably i haven't understood it correctly.
shouldn't the result of this test be 23 instead of 19?
https://github.com/azdanov/php-interview-exercises/blob/master/tests/MaxSubArraySum/Complete/MaxSubArrayCompleteTest.php#L28

9+8+6 = 23?

@Danzercroft
Copy link

hello, as i understand, in this task N parametr is size of window sliding throw array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants