Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6da06ad

Browse files
Add stack implementation
1 parent 115e1a8 commit 6da06ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎stack.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
class Stack {
22
constructor() {
3+
// We can also use linked list here
34
this.items = [];
45
}
56

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /