How does the Queue Data Strucuture work here? Does it has a pointer?

前端 未结 0 381
夕颜
夕颜 2021-01-16 20:38

I\'m currently learning JS Queues and don\'t understand it. So The first, last variables have no pointer, right? And in the enqueue function we say that this.last.next = new

相关标签:
回答
  • 消灭零回复
提交回复
热议问题