이미 좀 알려진 문제일텐데

링크드 리스트에서 엔트리 하나 들어낼때

if(prev) prev-> next = entry ->next;
else list_head= entry->next;

이거는 비효율적인 코드임. 더 효율적으로 바꿀 수 있는 방법 댓글에 ㄱㄱ