two pointers

· 알고리즘
Intuition My first approach to this problem is that call method recursively and find out the next head (not duplicated) I assume that there are two possible cases My Approach if duplicated value exist next to current node current node should change to another node which value is not same with current node then return current node if duplicated value doesn`t exist next to current node return curr..
파커초
'two pointers' 태그의 글 목록