Skip to content

Commit

Permalink
Add Header Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ms10398 committed Oct 2, 2017
1 parent 1970e43 commit 8e8a84d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/data_structures/Linked List/SinglyLinkedList.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

class SinglyLinkedList{

private Node head;
Expand Down
2 changes: 2 additions & 0 deletions code/data_structures/Linked List/singlylinklist.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

/* SinglyLinkedList!!
* A linked list is implar to an array, it hold values.
* However, links in a linked list do not have indexes. With
Expand Down
2 changes: 2 additions & 0 deletions code/data_structures/Queue/Queues.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

class Queue{
private int maxSize;
private int[] queueArray;
Expand Down
2 changes: 2 additions & 0 deletions code/data_structures/Stack/Stack.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

/* Stack!!
* A stack is exactly what it sounds like. An element gets added to the top of
* the stack and only the element on the top may be removed. This is an example
Expand Down
2 changes: 2 additions & 0 deletions code/data_structures/Stack/Stacks.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

import java.util.ArrayList;
class Stack{
private int maxSize;
Expand Down
2 changes: 2 additions & 0 deletions code/data_structures/Tree/Binary Search Tree.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

/*Binary Search Tree!!
*
* Nodes that will go on the Binary Tree.
Expand Down
2 changes: 2 additions & 0 deletions code/data_structures/Tree/BinaryTree.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* Part of Cosmos by OpenGenus Foundation */

class Node{
public int data;
public Node left;
Expand Down

0 comments on commit 8e8a84d

Please sign in to comment.