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 and Sum
Xor and Sum
Sort by
recency
|
55 Discussions
|
Please Login in order to post a comment
no idea how on earth people are doing it in 4 few lines with what seems to be the brute force method
this method is O(414159 + b.size()), and works for ANY bitwise operator not just XOR
Thanks for sharing this it really helped me a lot.
here is my solution in java, javascript, python, C C++, Csharp HackerRank Xor and Sum Problem Solution
Here is the solution of Xor and Sum Click Here
Here is Xor and Sum problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-xor-and-sum-problem-solution.html