Blueed Technology interview question

Write a program to reverse a stack in constant space