|
|
вернуться в форумexample 3 why 1? () 1 ?? () ->0 ??? Re: example 3 why 1? "A string a is a cyclic shift of a string b if a and b have the same lengths and a consists of some _(possibly empty)_ suffix from b followed by a prefix from b." Re: example 3 why 1? I dont understand ur explaining . Can U explain it(cyclic shift) with some examples Re: example 3 why 1? "possibly empty" has been emphasised. so every expression is a cyclic shift of itself. Re: example 3 why 1? () leads to two cyclic shifts: () and )(. Only () is valid bracket sequence, so the answer is 1. |
|
|