title: Build an FA that accepts only the words baa, ab, and abb and no other strings longer or shorter
body: <p>I have been trying solve this problem for a while now for a university assignment. I'm required to build a DFA and an NFA for the above question. So far I have been able to solve the DFA, but can not find a solution for a proper NFA after multiple tries.</p>
  <h3>The solution of my DFA for the language provided above:</h3>
  <p><a href="https://i.stack.imgur.com/H4zXZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H4zXZ.jpg" alt="The solution of my DFA for the language provided above:" /></a></p>
  <p>My attempts for the NFA are down below. I apologize for my messy handwriting but these were just rough works that I was drawing out on the go.</p>
  <h3>My first attempt:</h3>
  <p><a href="https://i.stack.imgur.com/K2qDu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K2qDu.jpg" alt="My first attempt at solving the NFA" /></a></p>
  <h3>My second attempt:</h3>
  <p><a href="https://i.stack.imgur.com/BXXtB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BXXtB.jpg" alt="My second attempt at solving the NFA" /></a></p>
  <h3>My third attempt:</h3>
  <p><a href="https://i.stack.imgur.com/aSc4u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aSc4u.jpg" alt="My third attempt at solving the NFA" /></a></p>