Skip to content

Add isomorphism.rs #707

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 6 commits into from
May 4, 2024
Merged

Add isomorphism.rs #707

merged 6 commits into from
May 4, 2024

Conversation

mengfansheng-git
Copy link
Contributor

Given two strings s and t, determine whether they are isomorphic.
The two strings are isomorphic if the characters in s can be replaced by some mapping relation to get t

@codecov-commenter
Copy link

codecov-commenter commented Apr 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.79%. Comparing base (20c92d7) to head (f4e46c0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #707   +/-   ##
=======================================
  Coverage   94.78%   94.79%           
=======================================
  Files         297      298    +1     
  Lines       22149    22177   +28     
=======================================
+ Hits        20994    21022   +28     
  Misses       1155     1155           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sozelfist
Copy link
Contributor

sozelfist commented Apr 29, 2024

Add docstrings to clarify the purpose of functions and modules. What do you think about these suggestions, @vil02.

@vil02 vil02 changed the title isomorphic strings Add isomorphism.rs May 4, 2024
@vil02 vil02 merged commit 1bd27f5 into TheAlgorithms:master May 4, 2024
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.

5 participants