Make your first PR! ~ A beginner-friendly repository made specifically for open source beginners. Add your profile, a blog or any program under any language (it can be anything from a hello-world program to a complex data structure algorithm) or update the existing one. Just make sure to add the file under the correct directory. Happy hacking!
In this file 'ReverseQueue.cpp , i hava updated the function of reverse ,in which i hava take one stack .
and we will check if our queue is not empty , then we will push front element of queue in stack . and then we will pop out from queue .
now we have to return queue , so we will push all values of queue in stacck .
and return it.
In this file 'ReverseQueue.cpp , i hava updated the function of reverse ,in which i hava take one stack . and we will check if our queue is not empty , then we will push front element of queue in stack . and then we will pop out from queue . now we have to return queue , so we will push all values of queue in stacck . and return it.