Coding tools
Learn & compete
Community
Practice
Column scan across all strings.
Constraints
Example
>>> longest_common_prefix(["flower","flow","flight"]) "fl"
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints