IBM logoIBM
Coding·60 minMembers

Minimum Insertions to Form Repeated abc Pattern

Members only

Given a lowercase string, insert the fewest characters needed so the result is a repetition of `abc` blocks. Deletion and replacement are not allowed.

SWE
string
greedy
simulation
easy
Frequency
Single report
Last asked
2025-11-07
Stage
oa

Log in to continue reading the full content