Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Count the number of pair in Array with given XOR porperty A[i]^A[j] = i^j
Blog

Count the number of pair in Array with given XOR porperty A[i]^A[j] = i^j

by Rubin|Published March 16, 2023

Given an array A[] with N elements, the task is to find the total number of pairs possible with A[i] ^ A[j] = i ^… Read More

The post Count the number of pair in Array with given XOR porperty A[i]^A[j] = i^j appeared first on GeeksforGeeks.

You may also like

Is there any way to switch consumer GPUs like RTX 5090 into TCC or MCDM mode? Extremely slow speeds for RAM – GPU transfer on Windows
Published November 3, 2025

Is there any way to switch consumer GPUs like RTX 5090 into TCC or MCDM mode? Extremely slow speeds for RAM – GPU transfer on Windows

We are working on generative AI models training. Like training FLUX, or Qwen Image or Wan 2.2. We have noticed that we […]

‘ONE’ USB 2.0 faster than USB 3.0 and all other USB 2s in my PC in some cases
Published June 6, 2022

‘ONE’ USB 2.0 faster than USB 3.0 and all other USB 2s in my PC in some cases

So I have a TL-WN823N V2 wifi dongle and my Home internet connection is 100Mbps. My PC is a bit old one […]

Published February 4, 2024

How to Add Image Uploader Pure JS without any XML

I am creating a simple form in which users can add images. I want to add the image uploader field to my […]

Is Magento 2 Migration Worth It for Small & Medium Ecommerce?
Published October 26, 2025

Is Magento 2 Migration Worth It for Small & Medium Ecommerce?

Is Magento 2 Migration Worth It for Small & Medium Ecommerce? Continue reading on Medium »

Interesting

  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
  • Is this the best way to rename multiple files in a Window folder using PowerShell?
  • When should I be using a fan controller over the ones on the motherboard?
  • Windows 11 taskbar search keeps loading forever and never shows results

Post navigation

  • Previous post Difference between average case and amortized analysis
  • Back to post list
  • Next post Magento 2, Undefined variable: secureRenderer
——————-
  • Trying to understand TrueNAS filename order. Files were created in numerical order, then why does the file list show up in random order? [closed]
  • Why does the run dialog opens my C drive for my custom variable %test%, but with %temp% it works?
  • Are these burn marks on my motherboard?
  • What could explain Windows PowerShell taking over one hour to load?
  • How to open a specific commit (by hash) in VS Code’s multi-diff view?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme