Skip to content

Commit 0db849f

Browse files
committed
added algo for stack using two queue in cpp
1 parent 443864e commit 0db849f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Array Stacking Algorithm/C++/stackusing2qs.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct qu2// queue2 declaration {
1010
qu2 *n2;
1111
int d2;
1212
}*f2 = NULL, *r2 = NULL, *q2 = NULL, *p2 = NULL, *np2 = NULL;
13-
13+
1414
void enqueue1(int a) {
1515
np1 = new qu1;
1616
np1->d1 = a;

0 commit comments

Comments
 (0)