Open
Description
Add Generic Examples to demonstrate how to use following data structures.
Example (Stack)
import { Stack } from "@anorcle/dsa";
const stack = new Stack<number>();
stack.push(3);
stack.push(1);
stack.push(100);
console.log(stack.top) // 100
// Remove Top Element from stack
stack.pop()
console.log(stack.top) // 1
For more examples see README.md