- 博客(1)
- 收藏
- 关注
原创 typescript模拟数据结构
本文对应的JS数据结构及使用方法 1、栈 class Stack<T> { private count: number; private items: any; constructor() { this.count = 0; this.items = {}; } push(element: T) { this.items[thi...
2024-01-31 12:51:31
150
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人