Remove Read-Only Files

Please write a function to remove read-only files from a file system. Given a file path that contains read-only files, you need to delete all read-only files under that path. Assume the path is an abs...

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: