← Google questions
CodingReported in a candidate post, Aug 2020

Minimum elements to add to array B to make A a subsequence

Filed under Google

Given arrays A and B, find the minimum number of elements to insert into B such that A becomes a subsequence of B.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.