kwohyuno 2025. 1. 29. 09:40

 

Linkedlist 

    -stores what's next (but not store previous one)

 

 

Insert at the Tail

 

*print할 때 새로 객체 만들어서 해줘야 원래 자료가 안바뀜 

 

 

Insert at the Head 

*바꿔주는거다 setNext()로