[자료구조] List
단순 연결 리스트 더보기 public class LinkedList { public static void main(String[] args) { Node list = new Node(0, null); for(int i = 6; i >= 1; i--) { addtoFirst(i, list); } printList(list); for(int i = 7; i = 1; value--) { addtoFirst(value); print(head); } for(int value = 6; value
CS/자료구조
2024. 1. 15. 16:35