This problem can be solved using the closure property of REL. The language generated by union of 2 RELs is a new REL.
And as the new generated language is REL that means we can build a Turing Machine for it. This new TM will accept both the languages.
64.3k questions
77.9k answers
244k comments
80.0k users