Quiz: Q7. Remove the characters of a string which are present in the other string

sir shouldn’t the space used be O(n) for
making hashmap of frequencies of string 1 and then for each character of string 2 check if it is present in hashmap or not, if yes, delete it

hey @arjunsabu99
let @arjunsabu99
String1 = “abc”
String2=“def”