ryguw, And a few bonus tricks to speed up your #python application:
- Don't print() anything until the end
- Use sets instead of lists
- Use dicts instead of lists
- Don't forget to break a loop when the objective is reached (good enough), loops don't always have to finish
- When working with multi-dimensional data, try to determine which index ranges really need to be looped over
Know any tips that should be on this list? 🫵