It is so hard when you don't know how XOR behaves, and so much easier as soon as you realize that applying XOR 2,4,6,8,... times does nothing.
@sivatejaysn3 сағат бұрын
no words just great
@ComfyWagie2 сағат бұрын
Just when I thought my code was optimized because I got 0ms in C++, editorial showed me that it could be simpler :(
@spitfire70192 сағат бұрын
bro what about repeated numbers? like the 2 was in both the arrays. i mean i know it doesn't matter but at least mention that case and why it still works in that case. i felt like that was the key thing people or at least i was stuck on without watching (and even after watching) the video. thanks