NAT · 1 mark · Regular Languages

GATE CS 2014 CS-3 — Q15

The length of the shortest string NOT in the language (over Σ={a,b}\Sigma = \{a, b\}) of the following regular expression is ______________.

a∗b∗(ba)∗a∗a^*b^*(ba)^*a^*