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

Appearance settings

Commit 7a8e9cf

Browse filesBrowse files
committed
added stack data structure
1 parent 63e79f3 commit 7a8e9cf
Copy full SHA for 7a8e9cf

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎data-structures/stack/stack.py

Copy file name to clipboardExpand all lines: data-structures/stack/stack.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
My github github.com/LuizGuerra
44
'''
55

6-
class Stack {
6+
class Stack:
77

88
def __init__ (.self):
99
head = null
@@ -22,8 +22,7 @@ def pop(.self):
2222
n = head
2323
head = head.next
2424
return n.element
25-
26-
}
25+
2726

2827
class Node (e):
2928
__init__ (.self, e):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.