//Consider the following code snippet. Fill in the blank at LINE-1 to create a stack and at LINE-2 to fill the stack with the value of array str. Look into the test cases to validate the outputs.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results