Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6691749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:47:18+00:00 2026-05-26T05:47:18+00:00

(ab u aab u aba)* I did it but I would like some feedback

  • 0

(ab u aab u aba)*

I did it but I would like some feedback on its correctness:

If it is correct: Can we simplify (ab u aab u aba)* any further?

If not: What did I miss?

EDIT: It seems I am missing e-transitions from all 3 final states back to the initial state and I need a new state that is initial and final which will go to the old initial state on e-transition. (Kleene Star rule).

enter image description here

P.S. Can we also simplify (a u b)*aabab and (a u b)*a(a u b)(a u b)(a u b)(a u b).

The reason why I ask because if there’s no way to simplify/minimize, it will be a ridiculously long DFA…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:47:19+00:00Added an answer on May 26, 2026 at 5:47 am

    I can see a small simplification of your first case in that you can write it as (a(b u ab u ba))* but that doesn’t necessarily help. I would still guess that your DFA won’t need as many states as you think.

    Both of the latter cases will need DFAs with 32 states in order to keep track of the last 5 characters read. The difference is that the second DFA only has one terminal state while the third DFA has 16.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following directory structure: /home/tichy/xxx/yyy/aaa /home/tichy/xxx/yyy/aab /home/tichy/xxx/yyy/aac I would like to enter
Let say i have some words AB, AAB, AA. AB is not a prefix
Weird question, but I have a dictionary created with StringComparer.OrdinalIgnoreCase, looks something like this
I recently did a big update on my wordpress site, thus some old permalink
I would like to point out a 'risky' part in F#. Consider the following
Given a set of data like: id Name 1 Aaa 2 Aab 3 AAc
The obvious choice is to exhaust all possible inputs. I think I did. But
I would like to write a function that takes in 3 characters and increments
I don't know why I can't work this one in my head. I have
For once, I am getting the intended results in IE6, but not FF (or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.