Your goal: solve one string-grouping question cleanly, test it with the awkward inputs, and
show you know why the cipher behind it protects nothing.
How this works (about 30 minutes)
- You're interviewing for a security engineering role at Pinterest. Marcus puts the question in
the shared editor; pick Python, Java or C++ at the top.
- Think out loud. Ask about the input before you code.
- Say your approach and its time and memory before you write it.
- Run the public tests from the editor. Tell Marcus when you want him to look at your code.
- After the tests he asks what input would break it, then a security follow-up built from your
code.
- No scores during the call. Your report comes after.
What scores well
- Restating the question and working a small example by hand, including one that wraps past z
- A key that every shift of a word lands on, chosen on purpose and said out loud
- Testing the odd inputs before Marcus asks: wrap-around, single letters, duplicates, an empty list
- A clear security answer: why a letter shift is not encryption, and what to use instead
Tips
- Take Security Coach · Cryptography first.
- Ask what counts as "the same value" before you choose a key.