420 views
2 votes
2 votes

For a length of string n,how many transactions will be there for acceptance of the string?

  1. O(n)
  2. O(n^2)
  3. O(nlogn)
  4. O(n^3)

Please log in or register to answer this question.

Related questions

6.9k
views
2 answers
3 votes
Akriti sood asked Nov 7, 2016
6,852 views
A palindrome is a string whose reversal is identical to the string. How many bit strings of length n are palindromes? 2⌈n⁄2⌉ 2(⌊ n/2⌋ ) 2⌈n⁄2⌉ -1 2(�...
1.7k
views
2 answers
2 votes
Jayant Isswani asked Jan 27, 2018
1,661 views
I know that for L={a^n, n>=0}, there would be 2 states in DFA because there is no restriction on the value of n. However, what would be the no of states when n is restric...
185
views
0 answers
0 votes
Md Sazzad asked Dec 23, 2023
185 views
How many strings are there of lowercase letters of length four or less, not counting the empty string?