Function to check whether in a given binary string can we make number of 1 ' s ▁ greater ▁ than ▁ the ▁ number ▁ of ▁ 0' s by doing the given operation
static void isOnesGreater ( string S , int N ) { StringBuilder st = new StringBuilder ( S ) ;