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

Max Subarray - O(n²): Test error #15

Open
danielcarlman opened this issue Oct 23, 2023 · 0 comments
Open

Max Subarray - O(n²): Test error #15

danielcarlman opened this issue Oct 23, 2023 · 0 comments

Comments

@danielcarlman
Copy link

In the video, Brad runs into a bug with the code and fixes it by replacing let maxSum = 0; with let maxSum = -Infinity;

The problem is that the wrong code is still in the repo. Just need to replace it like in the video.

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

1 participant