Obsidian Security Interview Question

LC medium type question for technical interview.