Skip to content

Commit

Permalink
Remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BulkBeing committed Oct 21, 2022
1 parent 67b4562 commit b7f0806
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
7 changes: 0 additions & 7 deletions structure/stack/array.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
// Stack implementation using Array
// Stack is a linear data structure in which the push and pop operations occur only at one end of the structure, referred to as the top of the stack.
// The order in which an element added to or removed from a stack is described as last in, first out (LIFO).
// Details:
// Stack Data Structure : https://www.geeksforgeeks.org/stack-data-structure-introduction-program/
// Stack (abstract data type) : https://en.wikipedia.org/wiki/Stack_(abstract_data_type)

package stack

import "errors"
Expand Down
9 changes: 0 additions & 9 deletions structure/stack/doubly_linked_list_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
// Stack Test
// description: based on `geeksforgeeks` description Stack is a linear data structure which follows a particular order in which the operations are performed.
// The order may be LIFO(Last In First Out) or FILO(First In Last Out).
// details:
// Stack Data Structure : https://www.geeksforgeeks.org/stack-data-structure-introduction-program/
// Stack (abstract data type) : https://en.wikipedia.org/wiki/Stack_(abstract_data_type)
// author [Milad](https://github.com/miraddo)
// see stackarray.go, stacklinkedlist.go, stacklinkedlistwithlist.go

package stack

import (
Expand Down
5 changes: 5 additions & 0 deletions structure/stack/stack.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Stack is a linear data structure in which the push and pop operations occur only at one end of the structure, referred to as the top of the stack.
// The order in which an element added to or removed from a stack is described as last in, first out (LIFO).
//
// Stack Data Structure : https://www.geeksforgeeks.org/stack-data-structure-introduction-program/
// Stack (abstract data type) : https://en.wikipedia.org/wiki/Stack_(abstract_data_type)
package stack

// Interface defines the specifications for a stack implementation.
Expand Down

0 comments on commit b7f0806

Please sign in to comment.