Question d’entretien chez Securecell AG

I was asked on basic Algorithm questions