[Leetcode] 761. Special Binary String 解题报告

题目

Special binary strings are binary strings with the following two properties:

The number of 0's is equal to the number of 1's.Every prefix of the binary string has at least as many 1's as 0's.

Given a special string S, a move consists of choosing two consecutive, non-empty, special substrings of 

你可能感兴趣的:(IT公司面试习题,Leetcode,解题报告,Recursion)