Question: In a string, a block is a substring in which all symbols are the same which can't be enlarged. For example, 0001100 have three blocks.
Let L be the language consisting of all binary strings such that every block has length 2 or 3. Give both an FA and an RE for L.
Please show me all the working and provide the answer.