Skip to content Skip to sidebar Skip to footer
Showing posts with the label Xor

Cython Implementation No Faster Than Pure Python

For an exercise I've written a XOR doubly-linked list %%cython from cpython.object cimport PyO… Read more Cython Implementation No Faster Than Pure Python

Count All Pairs With Given XOR

Given a list of size N. Find the number of pairs (i, j) such that A[i] XOR A[j] = x, and 1 Soluti… Read more Count All Pairs With Given XOR