Mozilla-Campus-Club-Cummins / CompetitiveProgramming-HacktoberFest23

1 stars 25 forks source link

Stack using two queues #56

Open Chaitralikore opened 8 months ago

Chaitralikore commented 8 months ago

Implement a Stack using two queues q1 and q2.

Example 1:

Input: push(2) push(3) pop() push(4) pop() Output: 3 4 Explanation: push(2) the stack will be {2} push(3) the stack will be {2 3} pop() poped element will be 3 the stack will be {2} push(4) the stack will be {2 4} pop() poped element will be 4

Gargee07 commented 8 months ago

Hello, I would like to work on this issue. Please assign it to me. Name: Gargee Patil C No. : UCE2022608 SY Comp

ManasiGDeshmukh commented 8 months ago

@Gargee07 Happy Coding!!