File System Encryption Optimization
Databricks interview questions · Hard · Coding round · reported 2× · 6 tests
Count encrypted versus unencrypted files, then choose between per-file and per-directory encryption to minimize total work.
The full question, tests and reference solution are available with a plan that includes Databricks.
Run your code with Ctrl+Enter to see results.