employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

How to add a node to a linked list at a specified position?

Interview Answer

Anonymous

Jul 8, 2012

Three steps to insert a new node into a linked list Determine the point of insertion Create a new node and store the new data in it Connect the new node to the linked list by changing references

1