← Adobe questions
CodingReported in a candidate post, Jul 2025

Generate a random string

Filed under Adobe

Write a function random_string(n) that returns a random string of length n built from letters and digits. Optionally accept the alphabet to draw from. Explain how you would change it if the string is…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.