Goodnotes Interview Question

Random string generation easy level DSA problem.