14 Longest Common Prefix LeetCode (Google Interview Question) JavaScript

Опубликовано: 24 Март 2026
на канале: dev alex
5,640
171

14 Longest Common Prefix LeetCode (Google Interview Question) JavaScript

https://leetcode.com/problems/longest...

"Write a function to find the longest common prefix string amongst an array of strings.
If there is no common prefix, return an empty string ."

Final code:
https://replit.com/@devalex1/14-Longe...

Gear I use:
1) Blue Yeti microphone - https://amzn.to/3ys9Te2
2) Logitech HD Pro Webcam C920 - https://amzn.to/3kuntZw
3) Monitor - https://amzn.to/3ynjJhe
4) Ipad - https://amzn.to/3BjoQAZ