php-interview-exercises icon indicating copy to clipboard operation
php-interview-exercises copied to clipboard

question about the MaxSubArraySum problem

Open crevillo opened this issue 5 years ago • 1 comments

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?

crevillo avatar Dec 23 '19 19:12 crevillo

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

Danzercroft avatar Oct 25 '22 00:10 Danzercroft