Given two binary strings S1 and S2 of length N (1 ≤ N ≤ 105), the task is to check if it is possible to… Read More

# Tag Archives: binary-string

Given two binary strings str1 and str2 having same length, the task is to find if it is possible to make the two binary strings… Read More

Given a binary string S of length N, the task is to minimize the count of repetitive removal of alternating subsequence of the 0 and… Read More

Given a binary string str, the task is to find the count of ways to partition the string such that each partitioned substring contains exactly… Read More

Given a string str, consisting of three different types of characters ‘0’, ‘1’ and ‘?’, the task is to convert the given string to a… Read More

Given a binary string S of length N consisting of 0s, 1s, and “?”, where “?” can be replaced by either 0 or 1, the… Read More

Given a binary string S of length N, the task is to count the minimum number substrings of S that is required to be reversed… Read More

Given two binary strings A and B of length N, the task is to check if the string A can be converted to B by… Read More

Given binary string str of length N, the task is to find the minimum number of characters required to be deleted from the given binary… Read More

Given a Binary string str of length N, the task is to find the last character removed from the string by repeatedly removing the first… Read More

Given a binary string str of size N, the task is to minimize the length of given binary string by removing even length substrings consisting… Read More

Given a binary string S of length N, the task is to print the minimum number of indices, substrings consisting only of 1s are required… Read More

There are two players A and B and a pile of N cards stacked upon each other. The task is to find the winner of… Read More

Given a binary string S, the task is to count total binary strings consisting of at least one ‘1’ of length equal to the length… Read More

Given an array arr[] consisting of N binary strings, the task is to count the number of strings that does not contain any Arc Intersection.… Read More