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.
Python 3 approach passes all testcases. Finally!!!
I shouldn't have converted the numbers to binary strings to get the bit. I didn't use segment tree, just bit manipulation is enough. I would like to ask experts in Python what was the time taken for their Testcases and how can I further reduce it? Also, let me know any other helpful advice if possible.
Changing Bits
You are viewing a single comment's thread. Return to all comments →
Python 3 approach passes all testcases. Finally!!! I shouldn't have converted the numbers to binary strings to get the bit. I didn't use segment tree, just bit manipulation is enough. I would like to ask experts in Python what was the time taken for their Testcases and how can I further reduce it? Also, let me know any other helpful advice if possible.
Time taken for test cases: