-
Notifications
You must be signed in to change notification settings - Fork 53
Anagram #63
Copy link
Copy link
Open
Labels
CC Programming LanguageC Programming LanguageassignedAssigned IssueAssigned Issuec++C++ Programming LanguageC++ Programming Languagegood first issueGood for newcomersGood for newcomershacktoberfestHacktoberfest IssueHacktoberfest Issuehacktoberfest-2023Hacktoberfest 2023 IssueHacktoberfest 2023 Issuehacktoberfest-acceptedAccepted for HacktoberfestAccepted for HacktoberfestjavaJava Programming LanguageJava Programming LanguagepythonPython Programming LanguagePython Programming LanguagestringQuestion related to stringQuestion related to string
Metadata
Metadata
Assignees
Labels
CC Programming LanguageC Programming LanguageassignedAssigned IssueAssigned Issuec++C++ Programming LanguageC++ Programming Languagegood first issueGood for newcomersGood for newcomershacktoberfestHacktoberfest IssueHacktoberfest Issuehacktoberfest-2023Hacktoberfest 2023 IssueHacktoberfest 2023 Issuehacktoberfest-acceptedAccepted for HacktoberfestAccepted for HacktoberfestjavaJava Programming LanguageJava Programming LanguagepythonPython Programming LanguagePython Programming LanguagestringQuestion related to stringQuestion related to string
❗Write Code in Only One Language ( CPP , C , Java , Python )
Give File Name :
Anagram✅ In respective language folder📑 DESCRIPTION
Anagram
Given two strings a and b consisting of lowercase characters. The task is to check whether two given strings are an anagram of each other or not. An anagram of a string is another string that contains the same characters, only the order of characters can be different. For example, act and tac are an anagram of each other.
Note:-
If the strings are anagrams you have to return True or else return False
|s| represents the length of string s.
Example 1:
Example 2:
Follow-up: Can you come up with an algorithm that is less than O(n^2) time complexity?