02.15 · Problem
Common Folder Path
This problem is part of solulu Pro
A file manager receives several file names/paths as strings. Find the longest common prefix shared by all of them; return an empty string if there is none.
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 35 of 94 · updated 2026-10-12