We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
XOR Subsequences
XOR Subsequences
Sort by
recency
|
19 Discussions
|
Please Login in order to post a comment
Due to time error, I don't know how to solve this...
Here is XOR Subsequences problem solution in Python Java C++ and c programming - https://programs.programmingoneonone.com/2021/07/hackerrank-XOR-subsequences-problem-solution.html
Thanks mate, the same problem I had.Great explanation. wazifa to get your love back
Can anybody explain why is this a convolution problem? I can't understand why
Probably because convolutions are usually written with ⊕ just as xor is. More seriously because there is a sliding window which is the main feature of convolutions.
I do not see yet how to think about the problem with convolutions but hopefully it helps me to find a more elegant solutions that the brute-force Python onliner I came with (with way too many imports).
I can't get the Python3 example to work at all, even if I just return the expected result it still says it fails:
try return(13)