Skip to content
DevTechTool

DevTechTool

  • Technology
  • Programming
  • Computer Fundamentals

linked list

Insert node in the middle of a Linked List

June 27, 2024 by Dev Guy

When we have a singly linked list, the task is to update the linked list by adding a new node in the middle of the linked list. If the size of the linked list, size is even, then the new node is to be added at (size/2) position or else if the length is odd … Read more

Categories Programming Tags algorithms, data structure and algorithms, data structures, linked list Leave a comment

Insert node at the end of a Linked List in 5 minutes

June 26, 2024 by Dev Guy

When we have a linked list, we want to add a node in the end of a linked list. Let us first try to figure out the intuition behind the algorithm. We start by iterating the list so that we get to the last node of the linked list. Next, we add the new node … Read more

Categories Programming Tags algorithms, data structure and algorithms, data structures, linked list Leave a comment

Recent Posts

  • Simple Tricks to Optimize Java Applications
  • Use MethodHandle and VarHandle Instead of Reflection in Java
  • Bubble Sort Algorithm
  • Ethical Frameworks and Principles in AI: Fairness, Bias Mitigation, Transparency, and Explainability
  • Zuul Proxy Server for efficient routing

Recent Comments

  1. Dev Guy on Big O Notation : A full guide to Complexity Analysis in 10 minutes
  2. goodhealther.com on Big O Notation : A full guide to Complexity Analysis in 10 minutes
© 2025 DevTechTool • Built with GeneratePress