MCPcopy Create free account
hub / github.com/apna-college/Alpha / Node

Class Node

13_Stacks/StackLL.java:3–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1//stack using Linked List
2public class StackDS {
3 private static class Node {
4 int data;
5 Node next;
6
7 Node(int data) {
8 this.data = data;
9 next = null;
10 }
11 }
12
13 static class Stack {
14 public static Node head = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…