XOR in a range of numbers

Published: 01 January 1970
on channel: Techdose
5,543
150

This video explains finding xor in a range of numbers. This video covers 3 problems including 2 follow-up problems. The first problem is to find the XOR of numbers from 1 to N. This is solved in constant time O(1). The first follow-up problem is to find the XOR in a given range X to Y. This is again solved in O(1). The second follow-up is to find the XOR in a range of index from left to right. This is a segment tree problem. The link for it is given below.

CODE LINK is present below.
🟣 JOIN our LIVE interview training program through whatsapp query: +91 8918633037
🔵 LinkedIn:   / surya-pratap-kahar-47bb01168  
🟢 Our Services: https://techdose.co.in/

🧡 SUPPORT OUR WORK:   / techdose  
💞JOIN Membership:    / channel  
INSTAGRAM :   / surya.pratap.k  

Range XOR query:    • XOR of a given range | Segment tree |...  


Watch video XOR in a range of numbers online without registration, duration hours minute second in high quality. This video was added by user Techdose 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,543 once and liked it 150 people.