Skip to content
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

Question of the day: Jan 13'th. Alternative solution with no side effects. #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PezzA
Copy link

@PezzA PezzA commented Jan 14, 2024

Firstly, thanks for great twitter content! I've learned more than a thing or two from your twitter feed.

As discussed here is an alternative solution to Jan 13'th using Enumerable.Max(). This also has the interesting quality of not mutating the original array (in case ordering of the source array is important).

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.

None yet

1 participant