Skip to content

Conversation

@prathameshkurunkar7
Copy link
Contributor

What's being changed:

Added a new program under Strings section.
Problem: To implement an algorithm to determine if a string has all unique characters.
Solution: Have an array of boolean values where every value acts like a flag at ith index and it also shows whether that character value is contained in the given string. The next time that character appears, we return false.

Time Complexity: O(n)

Checkoff the following:

  • Read Contribution.md
  • Created a new branch before committing.
  • My File doesn't contain any duplicacy or misinformation (isn't available in the library).
  • Added to the right category.
  • Added "add code" label.
  • Described what's being changed.

Please accept my contribution as part of Hacktoberfest. Happy to contribute to your repository!

@codewithdev codewithdev merged commit 0aaf8c5 into codewithdev:master Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants