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

Mission anagram #40

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

Conversation

marcorensch
Copy link

No description provided.

@marcorensch
Copy link
Author

All Checks Green for Anagram

Comment on lines +26 to +27
char[] candidateChars = candidate.toLowerCase().toCharArray();
Arrays.sort(candidateChars);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Da du sowieso zweimal sortieren musst, hätte ich dies in eine Methode umgewandelt z.b sortLetters(). So kannst du wiederholenden Code vermeiden. Zitat Marco Rensch: "Wiederholende Code isch schlecht!" ;-)

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.

2 participants