File Encryption Tree Optimization

Problem: File Encryption Tree Optimization

You are given a file-system tree. Each node is either a directory D or a file F. One encryption operation can be applied to either a file path or a d...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: