Madhav Ganesanmadhavganesan.hashnode.dev·3 hours agoLinkedList (DSA - 6)Linked lists are a fundamental data structure in computer science, used to store a collection of elements. They consist of nodes, where each node contains a value and a reference (or link) to the next node in the sequence. Dynamically resized No co...Discuss#linkedlists
Nagendra simhadrinagsblog.hashnode.dev·Sep 8, 2024Detect a Cycle in a Linked ListUnderstanding the Problem: Detecting a Cycle in a Linked List A linked list is a linear data structure where each element (node) points to the next element in the sequence. However, in some cases, the last node might point back to one of the earlier ...DiscussData Structures and Algorithms for Job Seekers#detectLoop
Nagendra simhadrinagsblog.hashnode.dev·Aug 25, 2024Introduction to Linked ListsA linked list is a fundamental data structure used in computer science to store collections of data. Unlike arrays, which store data in contiguous memory locations, linked lists consist of nodes that are scattered throughout memory. Each node contain...DiscussData Structures and Algorithms for Job Seekers#linkedlists
Akshaya Biswalakshaya-biswal.hashnode.dev·Aug 12, 2024Doubly Linked ListIntroduction A Linked List is a linear data structure Each node has two references: one to the next node and one to the previous node. This allows traversal in both forward and backward directions. Code class Node { constructor(data) { thi...DiscussData Structures and Algorithms in JavaScriptDSA
Akshaya Biswalakshaya-biswal.hashnode.dev·Aug 12, 2024Singly Linked ListIntroduction A Linked List is a linear data structure Each node contains data and a reference to the next node. It allows traversal in one direction, from the head (first node) to the tail (last node) Code class Node { constructor(data) { ...DiscussData Structures and Algorithms in JavaScriptdata structures
Sushil Kumar Mishrasushilsblog.hashnode.dev·Aug 11, 2024Step-by-Step Guide to Array-Based Linked List ImplementationIntroduction to Linked Lists Linked lists are a fundamental data structure in computer science, allowing for efficient insertion and deletion of elements. Unlike arrays, linked lists do not require a contiguous block of memory, making them more flexi...Discuss·2 likesarray
Tanusha Rainatechshetalks.hashnode.dev·Aug 6, 2024DSA : Linked Lists Solutions in Cpp (Converting an array to LinkedList)LeetCode Like a Lady: Cracking Coding Interviews in Heels - Linked List Solutions Hello, world! I’m excited to share my journey through the Linked List problems from Striver's A2Z DSA Sheet. In this series, I’ll be posting function implementations in...DiscussDSAwithTim
Nadim Anwarblog.nadim.in·Aug 5, 2024Middle Of Linked List LeetCode 876In this blog post, we'll explore an efficient way to find the middle node of a singly linked list using JavaScript. We'll dive into the code and understand the logic behind it step by step. Link:https://leetcode.com/problems/middle-of-the-linked-list...DiscussData Structures and Algorithms (DSA)#linkedlists
Sushil Kumar Mishrasushilsblog.hashnode.dev·Jul 28, 2024Demonstrating Self-Referential Structures with Linked ListsIn the world of computer science, understanding data structures is crucial for solving complex problems efficiently. One of the foundational concepts is the self-referential structure, a concept where a data structure contains a reference to an insta...Discuss·1 like·28 reads#linkedlists
Riyaz Nabiyullariyaz-blog.hashnode.dev·Jul 15, 2024Data Structures - Java: Syntax, Use Case, Time and Space Complexity1. Arrays Syntax: // Declaration and initialization int[] array = new int[10]; int[] array = {1, 2, 3, 4, 5}; // Accessing elements int element = array[0]; // Modifying elements array[1] = 10; Use Cases: Fixed-size collections, fast access by inde...Discuss·26 readsDSA-Javadata structures