Pergunta de entrevista da empresa Imperva

Write a function that prints common chars from 2 strings in run time N

Resposta da entrevista

Sigiloso

16 de set. de 2020

iterate over the 1st string, inserting each char into a dictionary, then iterate over the 2nd string and print every char that's already in the dictionary.