---
title: "Discussion on \"how to insert node at a given position given value and index\" | Hashnode"
description: "Discussion on \"how to insert node at a given position given value and index\". i started coding i thought at first if i had an if statement to check if current and index are equal then i create a new node and populate it i would do i inside a while loop. But that tuned out yet incorrect. I watched neso academy video link i real..."
url: "https://hashnode.com/posts/how-to-insert-node-at-a-given-position-given-value-and-index/67ec3f3acab27482bde3601b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [how to insert node at a given position given value and index](https://skanyingi.hashnode.dev/how-to-insert-node-at-a-given-position-given-value-and-index?utm_source=hashnode&utm_medium=feed)

i started coding i thought at first if i had an if statement to check if current and index are equal then i create a new node and populate it i would do i inside a while loop. But that tuned out yet incorrect. I watched neso academy video link i real...

Apr 1, 2025 · 1 min read · skanyingi.hashnode.dev  
Read the article

-   [#linkedlists](https://hashnode.com/tag/linkedlists)
-   [#dsa](https://hashnode.com/tag/dsa)

## Written by

[sammy](https://hashnode.com/@samdev596)

@samdev596

  
[View profile](https://hashnode.com/@samdev596)

Software engineering

I am an aspiring software engineer.By writing this article.I am commit myself accountable to provide valuable content to you reader oftenly every weekend about amazing programming concepts and technologies.To help you in your learning journey also.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
