Ask Question
9 August, 04:37

Write an algorithm in pseudocode or english that would describe how to use a stack to reverse any list.

+3
Answers (1)
  1. 9 August, 06:10
    0
    Int data[n];

    int rev[n];

    for (i=0; i < n; i++)

    stack. push (data[n]);

    for (i=0; i
    rev[i] = stack. pop ();
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Write an algorithm in pseudocode or english that would describe how to use a stack to reverse any list. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers