Hi everyone.How can I do this question using segment tree with lazy propagation.
Given an array.
query type 1: Find xor from L to R.
query type 2: Update element present at L to X.
query type 3: Update element from L to R to X.
Would anybody mind explaining how to do this question using SEGMENT TREE+LAZY PROPAGATION .I am not really getting Idea behind lazy propagation so please explain to me using this question.Good day.