Company: Zluri

Difficulty: medium

Problem Statement

Shadow IT Report Given a sanctioned-app catalog and discovered app names, report each discovered app that is not sanctioned. Matching is case-insensitive, and each shadow app is reported once. Input Format The first line contains `M`. The next `M` lines contain sanctioned app names. The following line contains `N`, followed by `N` discovered app names. A name occupies its complete line and can contain spaces. Output Format Print each shadow app lowercased, once, in ascending ASCII order. Print `NONE` if none exist. Constraints `1 <= M, N <= 100000`; each name has 1 to 64 ASCII letters, digits, spaces, dots, or hyphens, with no leading or trailing spaces. Notes Only capitalization is ignored for matching. Output is sorted after names are lowercased.

More Zluri OA questionsInterview experiences