로딩
티스토리 데이터 처리 중입니다.

CORONA-Queue<T>의 구현

 CORONA-Queue<T>의 구현

선입 선출 형태의 자료를 다룰 때는 큐를 사용합니다. 선착순으로 제일 먼저 들어온 자료가 제일 먼저 나가는 자료 구조입니다. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { class Node { internal T value; internal Node next; public Node(T value) { this.value = value; this.next = null; } } class MyQueue { internal Node first = null; internal Nod.....