
- Add more early return checks - Move to a recursive approach for more readability and avoiding a counter that we need to bump - Perform more caching - Keep class variable usage isolated into specific methods
- Add more early return checks - Move to a recursive approach for more readability and avoiding a counter that we need to bump - Perform more caching - Keep class variable usage isolated into specific methods