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.
I think that a brute force solution will be less complex in time (and also in line of codes)
starting from last element of a until first element of b and check for every element whether it fits the conditions.
Between Two Sets
You are viewing a single comment's thread. Return to all comments →
I think that a brute force solution will be less complex in time (and also in line of codes) starting from last element of a until first element of b and check for every element whether it fits the conditions.