
Day 1/60 ✅ #geekstreak60 #npci
Solved today’s POTD: Count Subarrays with Given XOR on @geeksforgeeks
Used Prefix XOR + HashMap to achieve O(n) time.
Key idea: if prefixXOR ^ k exists before → valid subarray found.
60 days. No breaks. Let’s build consistency. 🚀
@NPCI_NPCI

English


















