Pregunta de entrevista de PAX Technology

Leetcode coding question, design a secure system