GATE CS 2024, set 1 · Question 61 · Theory of Computation · Numerical answer (NAT) · 2 marks · no negative marks

Consider the following two regular expressions over the alphabet {0,1}:
r = 0^* + 1^*s = 01^* + 10^*
The total number of strings of length less than or equal to 5, which are neither in r nor in s, is ______

Answer

Answer 44

Answer from the official GATE CS 2024 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes