CodeArray Interview Question

dsa and logical questions and code