Skip to content

Commit d13cccd

Browse files
committed
chore: revert the unrelated changes of the PR
1 parent cbfdd8e commit d13cccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Data-Structures/Queue/QueueUsing2Stacks.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Queue {
3131
}
3232

3333
// display elements of the inputstack
34-
listInput(output = (value) => console.log(value)) {
34+
listIn(output = (value) => console.log(value)) {
3535
let i = 0
3636
while (i < this.inputStack.length) {
3737
output(this.inputStack[i])
@@ -40,7 +40,7 @@ class Queue {
4040
}
4141

4242
// display element of the outputstack
43-
listOutput(output = (value) => console.log(value)) {
43+
listOut(output = (value) => console.log(value)) {
4444
let i = 0
4545
while (i < this.outputStack.length) {
4646
output(this.outputStack[i])

0 commit comments

Comments
 (0)