eBay interview question

Rotate Matrix . Find if a file path on ubuntu system is valid or invalid

eBay Interview Question: Rotate Matrix . Find if a file path on ubuntu system is valid or invalid | Glassdoor