palakkhatri18/Binary-String
Given a binary string S. The task is to count the number of substrings that start and end with 1. For example, if the input string is “00100101”, then there are three substrings “1001”, “100101” and “101”.
Python
Stargazers
No one’s star this repository yet.