Description
Solutions
Find Length of Longest Common Prefix
📚RELATED PROBLEMS
Given two arrays of strictly integers, arr1
and arr2
, find the length of the longest common prefix of any pair of numbers from the two arrays.
Example 1:
Input: arr1 = [123, 4, 5, 955], arr2 = [12345, 63, 95, 2]
Output: 3
Explanation:n/a 🥲
Constraints:
n/a 🥹

Related Problems
Testcase
Result
Case 1
input:
output: