+ 2
New node creation : just do like add_at_front(data) { this.head = new node(data,this.head); } curr.next = new node(data);
8th Oct 2022, 4:50 PM
Jayakrishna 🇼🇳
+ 1
You already done it..!?! Same output. You're welcome..
8th Oct 2022, 7:46 PM
Jayakrishna 🇼🇳