Doubt in Hashing quiz

Q7. Remove Characters From A String
Give the space complexity for removing the specified characters in a string which are given in another string using the concept of Hashing (Consider the length of both strings to be n)

O(n)

O(logN)

O(1)

hello @Nooberz

it should be O(1).
here is the algo->link

note we are only using 256 size array so space complexity is O(256) which is O(1)