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

Lazy segment tree #22

Open
ishu9bansal opened this issue Feb 19, 2023 · 1 comment
Open

Lazy segment tree #22

ishu9bansal opened this issue Feb 19, 2023 · 1 comment

Comments

@ishu9bansal
Copy link
Owner

Implement a lazy segment tree, with update and query operations over a range.

@ishu9bansal
Copy link
Owner Author

A special case implementation where update operation is flipping the bit and query operation is count of on bits.
https://leetcode.com/contest/biweekly-contest-98/problems/handling-sum-queries-after-update/

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