Min Swaps for Binary String

# Introduction In this lab, you are tasked to write a program that takes a binary string as input and calculates the minimum number of swaps required to convert it into an alternating binary string.

|60 : 00

Click the virtual machine below to start practicing