sharmaharisam / Generic_all_purpose_segtree

5 stars 1 forks source link

How can change for different commutative functions #1

Open MdNihal05 opened 8 months ago

MdNihal05 commented 8 months ago

How can I change this for min, max ,or gcd LCM and xor etc... I can change in combine function but what are function i should change You can explain by taking any example like for gcd or range xor etc Thanks!

sharmaharisam commented 8 months ago

Hi. You can watch the following video wherein I have explained how to modify the template: https://youtu.be/dexE7JwxrMU Regards, Harisam

On Mon, 6 Nov 2023 at 20:57, MdNihal05 @.***> wrote:

How can I change this for min, max ,or gcd LCM and xor etc... I can change in combine function but what are function i should change You can explain by taking any example like for gcd or range xor etc Thanks!

— Reply to this email directly, view it on GitHub https://github.com/sharmaharisam/Generic_all_purpose_segtree/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBG6U6OXUTXD7EUVCHQCNDYDD6WDAVCNFSM6AAAAAA67WH2H2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TSNBTGIZDIOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>