본문 바로가기

미국유학/Data Structure and Algorithm

1.28 화요일

 

Linkedlist 

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

 

 

Insert at the Tail

 

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

 

 

Insert at the Head 

*바꿔주는거다 setNext()로 

 

 

 

 

 

 

 

 

 

 

'미국유학 > Data Structure and Algorithm' 카테고리의 다른 글

Binary Search Tree (BSTNode)  (0) 2025.02.09
2월6일 DSA  (0) 2025.02.07
2월4일, DSA  (0) 2025.02.05
Jan 31 Friday 2025  (1) 2025.02.05
1/23(목) , 1/24 (금)  (0) 2025.01.29