Skip to content

[pull] master from williamfiset:master#118

Merged
pull[bot] merged 2 commits intoUncodedtech:masterfrom
williamfiset:master
Mar 5, 2026
Merged

[pull] master from williamfiset:master#118
pull[bot] merged 2 commits intoUncodedtech:masterfrom
williamfiset:master

Conversation

@pull
Copy link

@pull pull bot commented Mar 5, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

williamfiset and others added 2 commits March 4, 2026 20:53
…ts (#1251)

- Rewrite GenericSegmentTree with simplified RUF structure using 3 shared
  lambdas (addDelta, mulDelta, assignDelta) instead of 22 named fields
- Fix incorrect productQueryAssignUpdate formula (was returning d, now
  correctly returns d^count)
- Remove broken gcdQuerySumUpdate and productQuerySumUpdate RUFs
- Throw UnsupportedOperationException for GCD+ADDITION and PRODUCT+ADDITION
- Rename methods: rangeQuery1->rangeQuery, rangeUpdate1->rangeUpdate
- Delete GenericSegmentTree2 (Segment-object variant) and GenericSegmentTree3
  (commented-out pointer-based WIP) along with their tests and BUILD targets
- Expand test coverage from 14 to 38 tests including constructor validation,
  single-element arrays, edge cases, negative values, overlapping updates,
  and randomized tests for PRODUCT and MIN/MAX+MUL combos

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Mar 5, 2026
@pull pull bot added the ⤵️ pull label Mar 5, 2026
@pull pull bot merged commit 9c25378 into Uncodedtech:master Mar 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant