+ 1
Help me simplify the program
I have a written a code of Queue and it's operations using 2 Stacks. Is there any way i can simplify this code using alternative methods or break it down to simple blocks? https://code.sololearn.com/cqA5mUdX5R95
3 Antworten
0
C-MOON i wrote it for a hackerrank competition.. But unfortunately for some test cases it time out. Maybe cus of the time complexity..