← Apple questions
CodingReported in a candidate post, May 2020

Can the second string be made by repeatedly inserting copies of the first

Filed under Apple

Given two strings first and second, check whether second can be built by starting with first and repeatedly inserting a whole copy of first at any position. For example, with first = 'XY', the string…

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 Apple questions

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