chevron_left

Recent posts tagged linkedlist

5 0 5 min.
Design  аn  Аlgоrithm  fоr  соmbining  twо  sоrted  соntiguоus  lists  intо  а  single  sоrted  соntiguоus  list.Оbjeсtive:  Given  twо  sоrted  linked  li...
posted Sep 2 sakshi 955 points
12 0 5 min.
#include <stdio.h>#include <stdlib.h> struct Node {    int data;    struct Node* next;}; // This function prints contents of linked list starting from the given nodevoid printList(struct N...
posted Aug 18 Yogesh Sharma 337 points
12 0 7 min.
#include <stdio.h>#include <stdlib.h> struct Node {    int data;    struct Node* next;};// list with 3 nodesint main(){    struct Node* head = NULL;    s...
posted Aug 18 Yogesh Sharma 337 points
7 0 2 min.
Arrays can be used to store linear data of similar types, but arrays have the following limitations. 1) The size of the arrays is fixed: So we must know the upper limit on the number of elements in advance. Also, generally, the allocated me...
posted Aug 18 Yogesh Sharma 337 points
3 0 3 min.
Hello reader, welcome to my post :)In this post, we shall discuss how we can filter out the duplicate value nodes from a sorted linked list. Before going into the implementation of the algorithms, we would see some basic information related to the li...
posted Aug 10 kesav.eee 208 points
3 0 2 min.
**LinkedList** is a collection of similar type of objects.(just like an ArrayList). It is part of Collection framework and implements the LinkedlIst datastructure where in elements are not stored in contiguous locations. Each element has a data part ...
posted Aug 9 DivyaN 507 points
6 0 3 min.
Adding two polynomials using Linked ListGiven two polynomial numbers represented by a linked list. Write a function that add these lists means add the coefficients who have same variable powers.Example:  Input: 1st number = 5x2 + 4x1 +...
posted Aug 3 SharadMagar450 320 points
6 0 3 min.
Multiplication of two polynomials using Linked listGiven two polynomials in the form of linked list. The task is to find the multiplication of both polynomials.Examples: Input: Poly1: 3x^2 + 5x^1 + 6, Poly2: 6x^1 + 8 Output: 18x^3 + 54x^2 + 76x^...
posted Aug 3 SharadMagar450 320 points
10 0 7 min.
С++  hоw  tо  сreаte  а  linked  listIntrоduсtiоnLinked  list  is  оne  оf  the  fundаmentаl  dаtа  struсtures,  аnd  саn  be  used  tо  imрlement &nb...
posted Jul 30 sakshi 955 points
15 0 3 min.
Hello reader, Welcome to my post :)In this post, we shall discuss how we can find the count of the number of nodes in a singly linked list. Before that, we would see some basic information about the linked list and how actually the nodes would b...
posted Jul 26 kesav.eee 208 points
9 3 2 min.
In Java, Linked list is a class definition founds under the java.util.* package. It implements a basics of linked-list, one of the common liner data structure which stores collection of elements without maintaining sequence in memory location like ar...
posted Jul 10 mhfaisal 275 points
17 1 4 min.
Hello reader, Welcome to my post :)In this post, we shall see how we can sort the linked list without making use of the collections class in java. We shall see what are the available techniques for sorting the linked list. Without further delay, we w...
posted Jun 15 kesav.eee 208 points
32 1 3 min.
Hello reader, welcome to my post:)In this post, we would see about the arraylist and linkedlist in java and would discuss their differences. Generally, they are both collections which store and manipulate data. Although they work to achieve the same ...
posted Jun 1 kesav.eee 208 points
6 1 1 min.
What is difference between arraylist and linkedlist Next →← Prev Difference between ArrayList and LinkedList ArrayList and LinkedList both implements List interface and maintains insertion order. Both are non synchronized classes. ADVERTISEMENT Ho...
posted May 22 Sanjana Sagar 399 points
To see more, click for the full list of questions or popular tags.