1,432 views
1 votes
1 votes
Suppose one character at a time comes as an input from a string of letters . There is an option either to

1) print the incoming letter or to

2) put the incoming letter onto stack .Also a letter from stack can be popped out at any time and printed .

The total number of distinct words that can be formed out of a string with n distinct letters is ?

1 Answer

Related questions

0 votes
0 votes
1 answer
1
0 votes
0 votes
1 answer
2
eddy asked Aug 6, 2016
2,526 views
any one plz explain it clearly
3 votes
3 votes
1 answer
3
h4kr asked Jan 31, 2023
635 views
Number of possible permutations that can be obtained using stack if the input sequence is 1, 2, 3, 4, 5 (in the order) is
6 votes
6 votes
3 answers
4
radha gogia asked Aug 2, 2015
3,055 views
The FA above recognizes a set of stings of length $6$, what is the total number of strings that can be generated from the FA?$18$$20$$130$None