class Stack implements StackApiimport { Stack } from "https://deno.land/x/datastructure@1.0.0/stack/stack.ts"; ConstructorsnewStack()PropertiesprivatebottomNode: StackTypeprivatetopNode: StackTypesize: numberMethodsgetBottom()getTop()iterator()log()pop()push(data: DataType<any>)search(key: string | number)update(key: string | number, newValue: any)