Remove with 2 same nodes throwing runtime error

i did make the remove function and its working well unless there are 2 nodes with the same value

hi @tusharbajaj200153_02bc6c0c5583c81d u can keep a check buddy if that item is present dont insert again in the insert function… or u can check if that item is present like search that item if it is not found then only call the insert function

1 Like