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.
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).
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Join us
Create a HackerRank account
Be part of a 26 million-strong community of developers
Please signup or login in order to view this challenge
XOR Subsequences
You are viewing a single comment's thread. Return to all comments →
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).