Skip to content

2023 Day 6: Wait For It #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2023
Merged

2023 Day 6: Wait For It #22

merged 1 commit into from
Dec 6, 2023

Conversation

shadeon
Copy link
Owner

@shadeon shadeon commented Dec 6, 2023

This is the first solution I feel I've used a totally inelegant and brute force solution, rather than using the inevitable mathematical relationship that probably exists between the time and the distance to immediately compute the minimum hold time. But I'm not a maths graduate, and it only takes 62ms, so it'll have to do.

Also, finally had a use for LINQ's .zip method, so that was a first.

@shadeon shadeon self-assigned this Dec 6, 2023
@shadeon shadeon merged commit f7f7d47 into main Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant