You are viewing a single comment's thread. Return to all comments →
If A and B are two sets with the size of A bigger than B then it is faster to do
A |= B B = A del A
than
B |= A del A
Knowing that it is possible to solve this problem the natural way (without segment tree). At least in python.
Seems like cookies are disabled on this browser, please enable them to open this website
Coloring Tree
You are viewing a single comment's thread. Return to all comments →
If A and B are two sets with the size of A bigger than B then it is faster to do
than
Knowing that it is possible to solve this problem the natural way (without segment tree). At least in python.