Deque efficient using two stack

https://ide.codingblocks.com/s/364109 this program is giving segmentation fault

hello @shrutikatyal

check now->
https://ide.codingblocks.com/s/364112