-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Labels
CC Programming LanguageC Programming Languagec++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 Languagenot-assignedIssue Not assigned yetIssue Not assigned yetpythonPython Programming LanguagePython Programming LanguagestringQuestion related to stringQuestion related to string
Description
❗Write Code in Only One Language ( CPP , C , Java , Python )
Give File Name : Uncommon characters ✅ In respective language folder
📑 DESCRIPTION
Uncommon characters
Given two strings A and B consisting of lowercase english characters. Find the characters that are not common in the two strings.
Note :- Return the string in sorted order..
Example 1:
Input:
A = geeksforgeeks
B = geeksquiz
Output: fioqruz
Explanation:
The characters 'f', 'i', 'o', 'q', 'r', 'u','z'
are either present in A or B, but not in both.
Example 2:
Input:
A = characters
B = alphabets
Output: bclpr
Explanation: The characters 'b','c','l','p','r'
are either present in A or B, but not in both.
Follow-up: Can you come up with an algorithm that is less than O(n^2) time complexity?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CC Programming LanguageC Programming Languagec++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 Languagenot-assignedIssue Not assigned yetIssue Not assigned yetpythonPython Programming LanguagePython Programming LanguagestringQuestion related to stringQuestion related to string