I won't deny that this is not my homework question, but I've been thinking for a couple of hours and still have no understand
$L = \{w | w ∈ \{0, 1\}^*\}$, w is a list of unary integers separated by 1’s that are not in ascending order.
E.g. 00101000, 00010001000, 001010 are all acceptable but 010010000 is not.
I'm able to check the count for two set of 0's but I don't get how to do it for three or more? Nondeterministic PDA is also an option but again, I'm unable to get how to use it. I would like to know how to work with such languages.