Find the Length of the Longest Common Prefix at Coinbase
Medium57.0% acceptance
This problem has 50.0% frequency at Coinbase.
Problem Description
You are given two arrays with **positive** integers `arr1` and `arr2`. A **prefix** of a positive integer is an integer formed by one or more of its digits, starting from its **leftmost** digit. For example, `123` is a prefix of the integer `12345`, while `234` is **not**. A **common prefix** of t...
Read full problem and hintsTopics
Also asked at 16 companies
More Coinbase Questions
Simple Bank SystemMediumTime Based Key-Value StoreMediumDecode the MessageEasyRandom Pick with WeightMediumText JustificationHard
View all Coinbase questions