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.
Here's my solution that does not require an additional data structure to track the results of each comparison. This may be preferable when you do not want the additional memory overhead as well as the additional loop over the results. This also ends the main loop faster as it can exit as soon as any False is found.
Check Strict Superset
You are viewing a single comment's thread. Return to all comments →
Here's my solution that does not require an additional data structure to track the results of each comparison. This may be preferable when you do not want the additional memory overhead as well as the additional loop over the results. This also ends the main loop faster as it can exit as soon as any False is found.