TikTok Interview Question

Longest common prefix in an array of strings (leetcode)