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

Solve Problem 769. Max Chunks To Make Sorted #2287

Open
threeal opened this issue Dec 19, 2024 · 0 comments · May be fixed by #2288
Open

Solve Problem 769. Max Chunks To Make Sorted #2287

threeal opened this issue Dec 19, 2024 · 0 comments · May be fixed by #2288
Assignees
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Dec 19, 2024

This issue suggests solving the problem 769. Max Chunks To Make Sorted. To achieve this, we can build a hash set to flag numbers while iterating through the array. When the maximum flagged number equals the current element, we increment the counter for tracking the maximum chunks and finally return the counter.

@threeal threeal added this to the December 2024 milestone Dec 19, 2024
@threeal threeal self-assigned this Dec 19, 2024
@threeal threeal linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant