Figma Interview Question

Review arrays on LC and focus on fast implementation/execution like being able to write code very quickly