Just added: Embedded C From Zero
TypeScript
class Stack<T> {
  private items: T[] = [];

  push(item: T): void {
    // add item to the top
  }

  pop(): T | undefined {
    // remove and return the top item
  }

  peek(): T | undefined {
    // return the top item WITHOUT removing it
  }

  size(): number {
    return 0;
  }
}

const history = new Stack<string>();
history.push("/home");
history.push("/guides");
history.push("/practice");

const numbers = new Stack<number>();
numbers.push(1);
numbers.push(2);