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

Add Duplicate Character Counter in Wren #4396

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kaamkiya
Copy link
Member

I Am Adding a New Code Snippet in an Existing Language

@Kaamkiya Kaamkiya marked this pull request as draft January 21, 2025 18:23
Copy link
Collaborator

@rzuckerm rzuckerm left a comment

Choose a reason for hiding this comment

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

I'm willing to bet that Wren has the same problem that older versions of python did where dictionaries (or whatever they are called in Wren) do not have a guaranteed order to the keys. You're going to need some other way to store the order in which the letters appear and then iterate on that instead of the dictionary

@Kaamkiya
Copy link
Member Author

I think so too. I'll probably just use two lists.

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.

Add Duplicate Character Counter in Wren
2 participants