Frage im Vorstellungsgespräch bei Databricks

Solve 2 easy array- or string-based questions, 1 medium matrix problem, 1 medium / lower hard array problem.