Salesforce logoSalesforce
Coding·30 minMembers

Binary String Synchronous '01' → '10' Replacement

Members only

Salesforce Futureforce 2026 Coding Challenge (intern OA). Given a binary string, every second all occurrences of `"01"` simultaneously become `"10"`. Repeat until the string is stable. Return the numb...

SWE
string
binary-string
simulation
greedy
medium
Frequency
Single report
Last asked
2025-12-25
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...