Finite State Machine that only accepts strings with number of 0’s is less then number 1’s


  1. In case inf length of the strings (general case).
  2. In case we fix the maximum length. For example for strings with a size less than 12. Can you please suggest the diagram.