in Algorithms retagged by
595 views
3 votes
3 votes
Number of possible permutations that can be obtained using stack if the input sequence is 1, 2, 3, 4, 5 (in the order) is
in Algorithms retagged by
by
595 views

4 Comments

Im a bit confused still, can you write a solution for this?
2
2

@h4kr There are $C_5 = 42$ possible permutations for the sequence $(1,2,3,4,5)$ using stack.

1
1
thanks, but in the solutions of the question where is solved it from had answer: 2048 [cant say their answer is correct, i often found wrong solutions from their Q&A]
2
2

Please log in or register to answer this question.