Consider the following two regular expressions over the alphabet {0,1}: 𝑟 =…

PYQ GATE 2024

Consider the following two regular expressions over the alphabet {0,1}:

                    𝑟 = 0∗ + 1∗

                    𝑠 = 01∗ + 10∗

The total number of strings of length less than or equal to 5, which are neither in 𝑟 nor in 𝑠, is _________

Attempted by 164 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…