www.geeksforgeeks.org
Open in
urlscan Pro
2a02:26f0:480:f::213:7ecf
Public Scan
URL:
https://www.geeksforgeeks.org/sum-of-the-nodes-of-a-singly-linked-list/
Submission: On March 09 via manual from IN — Scanned from DE
Submission: On March 09 via manual from IN — Scanned from DE
Form analysis
1 forms found in the DOM<form id="gcse-form" data-sm="false" class="p-relative"><input class="gcse-search-input__wrapper" id="gcse-search-input" aria-expanded="false">
<i class="gfg-icon gfg-icon_times gfg-icon_white hide-search"></i>
<button class="gcse-search__btn not-expanded">
<i class="gfg-icon gfg-icon_search gfg-icon_white gcse-search__icon"></i></button>
</form>
Text Content
Skip to content * Courses * For Working Professionals * Data Structure & Algorithm Classes (Live) * System Design (Live) * DevOps(Live) * Explore More Live Courses * For Students * Interview Preparation Course * Data Science (Live) * GATE CS & IT 2024 * Data Structure & Algorithm-Self Paced(C++/JAVA) * Data Structures & Algorithms in Python * Explore More Self-Paced Courses * Programming Languages * C++ Programming - Beginner to Advanced * Java Programming - Beginner to Advanced * C Programming - Beginner to Advanced * Web Development * Full Stack Development with React & Node JS(Live) * Java Backend Development(Live) * Android App Development with Kotlin(Live) * Python Backend Development with Django(Live) * Machine Learning and Data Science * Complete Data Science Program(Live) * Mastering Data Analytics * New Courses * Python Backend Development with Django(Live) * Android App Development with Kotlin(Live) * DevOps Engineering - Planning to Production * School Courses * CBSE Class 12 Computer Science * School Guide * All Courses * Tutorials * DSA * Data Structures * Arrays * Linked List * Stack * Queue * Binary Tree * Binary Search Tree * Heap * Hashing * Graph * Advanced Data Structure * Matrix * Strings * All Data Structures * Algorithms * Analysis of Algorithms * Asymptotic Analysis * Worst, Average and Best Cases * Asymptotic Notations * Little o and little omega notations * Lower and Upper Bound Theory * Analysis of Loops * Solving Recurrences * Amortized Analysis * What does 'Space Complexity' mean ? * Pseudo-polynomial Algorithms * Polynomial Time Approximation Scheme * A Time Complexity Question * Searching Algorithms * Sorting Algorithms * Graph Algorithms * Pattern Searching * Geometric Algorithms * Mathematical * Bitwise Algorithms * Randomized Algorithms * Greedy Algorithms * Dynamic Programming * Divide and Conquer * Backtracking * Branch and Bound * All Algorithms * Interview Corner * Company Preparation * Top Topics * Practice Company Questions * Interview Experiences * Experienced Interviews * Internship Interviews * Competitive Programming * Design Patterns * System Design Tutorial * Multiple Choice Quizzes * Languages * C * C++ * Java * Python * JavaScript * PHP * C# * SQL * Scala * Perl * Go Language * Kotlin * Web Development * HTML * CSS * JavaScript * PHP * CSS Frameworks * Bootstrap * Tailwind CSS * Foundation CSS * Materialize CSS * Bulma * Pure CSS * Primer CSS * Blaze UI * Semantic UI * JavaScript Frameworks * AngularJS * Angular PrimeNG * Angular ngx Bootstrap * NodeJS * Express.js * JavaScript Libraries * jQuery * jQuery Mobile * jQuery UI * jQuery EasyUI * jQWidgets * ReactJS * React Bootstrap * React Rebass * React Desktop * React Suite * ReactJS Evergreen * ReactJS Reactstrap * Ant Design * BlueprintJS * p5.js * Lodash * TensorFlow.js * Moment.js * Collect.js * WordPress * JSON * School Learning * English Grammar * School Programming * Mathematics * Number System * Algebra * Trigonometry * Statistics * Probability * Geometry * Mensuration * Calculus * CBSE Syllabus * Class 8 Syllabus * Class 9 Syllabus * Class 10 Syllabus * Class 11 Syllabus * Maths Notes (Class 8-12) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Class 12 Notes * Maths Formulas (Class 8 -11) * Class 8 Formulas * Class 9 Formulas * Class 10 Formulas * Class 11 Formulas * NCERT Solutions * Class 8 Maths Solution * Class 9 Maths Solution * Class 10 Maths Solution * Class 11 Maths Solution * Class 12 Maths Solution * RD Sharma Solutions * Class 8 Maths Solution * Class 9 Maths Solution * Class 10 Maths Solution * Class 11 Maths Solution * Class 12 Maths Solution * Science Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * Physics Notes (Class 8-11) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Chemistry Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * Biology Notes * Class 8 * Class 9 * Class 10 * Class 11 * Social Science Notes * SS Notes (Class 7-12) * Class 7 Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * CBSE History Notes (Class 7-10) * History Class 7 * History Class 8 * History Class 9 * CBSE Geography Notes (Class 7-10) * Geo. Class 7 * Geo. Class 8 * Geo. Class 9 * CBSE Civics Notes (Class 7-10) * Civics Class 7 * Civics Class 8 * Commerce * Business Studies (Class 11th) * Microeconomics (Class 11th) * Statistics for Economics (Class 11th) * Business Studies (Class 12th) * Accountancy (Class 12th) * Macroeconomics (Class 12th) * ML & Data Science * Machine Learning * Data Science * CS Subjects * Mathematics * Operating System * DBMS * Computer Networks * Computer Organization and Architecture * Theory of Computation * Compiler Design * Digital Logic * Software Engineering * GATE * GATE 2024 Live Course * GATE Computer Science Notes * Last Minute Notes * GATE CS Solved Papers * GATE CS Original Papers and Official Keys * GATE CS 2023 Syllabus * Important Topics for GATE CS * GATE 2023 Important Dates * Software Designs * Software Design Patterns * System Design Tutorial * GFG Sheets * Web Dev Cheat Sheets * HTML Cheat Sheet * CSS Cheat Sheet * Bootstrap Cheat Sheet * JS Cheat Sheet * jQuery Cheat Sheet * Angular Cheat Sheet * Company-Wise SDE Sheets * Facebook SDE Sheet * Amazon SDE Sheet * Apple SDE Sheet * Netflix SDE Sheet * Google SDE Sheet * Wipro Coding Sheet * Infosys Coding Sheet * TCS Coding Sheet * Cognizant Coding Sheet * HCL Coding Sheet * DSA Sheets * SDE Sheet * FAANG Coding Sheet * Love Babbar Sheet * Mass Recruiter Sheet * Product-Based Coding Sheet * Company-Wise Preparation Sheet * Array Sheet * String Sheet * Tree Sheet * Graph Sheet * DP Sheet * CS Exams/PSUs * ISRO * ISRO CS Original Papers and Official Keys * ISRO CS Solved Papers * ISRO CS Syllabus for Scientist/Engineer Exam * UGC NET * UGC NET CS Notes Paper II * UGC NET CS Notes Paper III * UGC NET CS Solved Papers * Student * Campus Ambassador Program * School Ambassador Program * Project * Geek of the Month * Campus Geek of the Month * Placement Course * Competitive Programming * Testimonials * Student Chapter * Geek on the Top * Internship * Careers * UPSC * Geography Notes * History Notes * Science & Tech. Notes * Ethics Notes * Polity Notes * Economics Notes * UPSC Previous Year Papers * SSC CGL * SSC CGL Syllabus * General Studies * English * Reasoning * Subjectwise Practice Papers * Previous Year Papers * Banking Exams * SBI Clerk * SBI Clerk Syllabus * General Awareness * English * Quantitative Aptitude * Reasoning Ability * SBI Clerk Practice Papers * SBI PO * SBI PO Syllabus * General Awareness * English * Quantitative Aptitude * Reasoning Ability * Previous Year Papers * SBI PO Practice Papers * IBPS PO * IBPS PO 2022 Syllabus * English Notes * Reasoning Notes * Previous Year Papers * Mock Question Papers * IBPS Clerk * IBPS Clerk Syllabus * English Notes * Previous Year Papers * Jobs * Apply for a Job * Apply through Jobathon * Post a Job * Hire through Jobathon * Practice * All DSA Problems * Problem of the Day * GFG SDE Sheet * Curated DSA Lists * Top 50 Array Problems * Top 50 String Problems * Top 50 Tree Problems * Top 50 Graph Problems * Top 50 DP Problems * Contests * Solving For India-Hackthon * GFG Weekly Coding Contest * Job-A-Thon: Hiring Challenge * BiWizard School Contest * All Contests and Events * * * Sign In * Sign In * Home * Saved Videos * Courses * * For Working Professionals * Data Structure & Algorithm Classes (Live) * System Design (Live) * DevOps(Live) * Explore More Live Courses * For Students * Interview Preparation Course * Data Science (Live) * GATE CS & IT 2024 * Data Structure & Algorithm-Self Paced(C++/JAVA) * Data Structures & Algorithms in Python * Explore More Self-Paced Courses * Programming Languages * C++ Programming - Beginner to Advanced * Java Programming - Beginner to Advanced * C Programming - Beginner to Advanced * Web Development * Full Stack Development with React & Node JS(Live) * Java Backend Development(Live) * Android App Development with Kotlin(Live) * Python Backend Development with Django(Live) * Machine Learning and Data Science * Complete Data Science Program(Live) * Mastering Data Analytics * New Courses * Python Backend Development with Django(Live) * Android App Development with Kotlin(Live) * DevOps Engineering - Planning to Production * School Courses * CBSE Class 12 Computer Science * School Guide * Data Structures * Arrays * Linked List * Stack * Queue * Binary Tree * Binary Search Tree * Heap * Hashing * Graph * Advanced Data Structure * Matrix * Strings * All Data Structures * Algorithms * Searching Algorithms * Sorting Algorithms * Graph Algorithms * Pattern Searching * Geometric Algorithms * Mathematical * Bitwise Algorithms * Randomized Algorithms * Greedy Algorithms * Dynamic Programming * Divide and Conquer * Backtracking * Branch and Bound * All Algorithms * Analysis of Algorithms * Asymptotic Analysis * Worst, Average and Best Cases * Asymptotic Notations * Little o and little omega notations * Lower and Upper Bound Theory * Analysis of Loops * Solving Recurrences * Amortized Analysis * What does 'Space Complexity' mean ? * Pseudo-polynomial Algorithms * Polynomial Time Approximation Scheme * A Time Complexity Question * Interview Corner * Company Preparation * Top Topics * Practice Company Questions * Interview Experiences * Experienced Interviews * Internship Interviews * Competitive Programming * Design Patterns * System Design Tutorial * Multiple Choice Quizzes * Languages * C * C++ * Java * Python * JavaScript * PHP * C# * SQL * Scala * Perl * Go Language * Kotlin * Web Development * HTML * CSS * JavaScript * PHP * WordPress * JSON * CSS Frameworks * Bootstrap * Tailwind CSS * Foundation CSS * Materialize CSS * Bulma * Pure CSS * Primer CSS * Blaze UI * Semantic UI * JavaScript Frameworks * AngularJS * Angular PrimeNG * Angular ngx Bootstrap * NodeJS * Express.js * JavaScript Libraries * jQuery * jQuery Mobile * jQuery UI * jQuery EasyUI * jQWidgets * ReactJS * React Bootstrap * React Rebass * React Desktop * React Suite * ReactJS Evergreen * ReactJS Reactstrap * Ant Design * BlueprintJS * p5.js * Lodash * TensorFlow.js * Moment.js * Collect.js * School Learning * English Grammar * School Programming * Mathematics * Number System * Algebra * Trigonometry * Statistics * Probability * Geometry * Mensuration * Calculus * CBSE Syllabus * Class 8 Syllabus * Class 9 Syllabus * Class 10 Syllabus * Class 11 Syllabus * Maths Notes (Class 8-12) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Class 12 Notes * Maths Formulas (Class 8 -11) * Class 8 Formulas * Class 9 Formulas * Class 10 Formulas * Class 11 Formulas * NCERT Solutions * Class 8 Maths Solution * Class 9 Maths Solution * Class 10 Maths Solution * Class 11 Maths Solution * Class 12 Maths Solution * RD Sharma Solutions * Class 8 Maths Solution * Class 9 Maths Solution * Class 10 Maths Solution * Class 11 Maths Solution * Class 12 Maths Solution * Science Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * Physics Notes (Class 8-11) * Class 8 Notes * Class 9 Notes * Class 10 Notes * Class 11 Notes * Chemistry Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * Biology Notes * Class 8 * Class 9 * Class 10 * Class 11 * Social Science Notes * SS Notes (Class 7-12) * Class 7 Notes * Class 8 Notes * Class 9 Notes * Class 10 Notes * CBSE History Notes (Class 7-10) * History Class 7 * History Class 8 * History Class 9 * CBSE Geography Notes (Class 7-10) * Geo. Class 7 * Geo. Class 8 * Geo. Class 9 * CBSE Civics Notes (Class 7-10) * Civics Class 7 * Civics Class 8 * Commerce * Business Studies (Class 11th) * Microeconomics (Class 11th) * Statistics for Economics (Class 11th) * Business Studies (Class 12th) * Accountancy (Class 12th) * Macroeconomics (Class 12th) * ML & Data Science * Machine Learning * Data Science * CS Subjects * Mathematics * Operating System * DBMS * Computer Networks * Computer Organization and Architecture * Theory of Computation * Compiler Design * Digital Logic * Software Engineering * GATE * GATE 2024 Live Course * GATE Computer Science Notes * Last Minute Notes * GATE CS Solved Papers * GATE CS Original Papers and Official Keys * GATE CS 2023 Syllabus * Important Topics for GATE CS * GATE 2023 Important Dates * Software Designs * Software Design Patterns * System Design Tutorial * GFG Sheets * Web Dev Cheat Sheets * HTML Cheat Sheet * CSS Cheat Sheet * Bootstrap Cheat Sheet * JS Cheat Sheet * jQuery Cheat Sheet * Angular Cheat Sheet * Company-Wise SDE Sheets * Facebook SDE Sheet * Amazon SDE Sheet * Apple SDE Sheet * Netflix SDE Sheet * Google SDE Sheet * Wipro Coding Sheet * Infosys Coding Sheet * TCS Coding Sheet * Cognizant Coding Sheet * HCL Coding Sheet * DSA Sheets * SDE Sheet * FAANG Coding Sheet * Love Babbar Sheet * Mass Recruiter Sheet * Product-Based Coding Sheet * Company-Wise Preparation Sheet * Array Sheet * String Sheet * Tree Sheet * Graph Sheet * DP Sheet * CS Exams/PSUs * ISRO * ISRO CS Original Papers and Official Keys * ISRO CS Solved Papers * ISRO CS Syllabus for Scientist/Engineer Exam * UGC NET * UGC NET CS Notes Paper II * UGC NET CS Notes Paper III * UGC NET CS Solved Papers * Student * Campus Ambassador Program * School Ambassador Program * Project * Geek of the Month * Campus Geek of the Month * Placement Course * Competitive Programming * Testimonials * Student Chapter * Geek on the Top * Internship * Careers * UPSC * Geography Notes * History Notes * Science & Tech. Notes * Ethics Notes * Polity Notes * Economics Notes * UPSC Previous Year Papers * SSC CGL * SSC CGL Syllabus * General Studies * English * Reasoning * Subjectwise Practice Papers * Previous Year Papers * Banking Exams * SBI Clerk * SBI Clerk Syllabus * General Awareness * English * Quantitative Aptitude * Reasoning Ability * SBI Clerk Practice Papers * SBI PO * SBI PO Syllabus * General Awareness * English * Quantitative Aptitude * Reasoning Ability * Previous Year Papers * SBI PO Practice Papers * IBPS PO * IBPS PO 2022 Syllabus * English Notes * Reasoning Notes * Previous Year Papers * Mock Question Papers * IBPS Clerk * IBPS Clerk Syllabus * English Notes * Previous Year Papers * Curated DSA Lists * Top 50 Array Problems * Top 50 String Problems * Top 50 Tree Problems * Top 50 Graph Problems * Top 50 DP Problems * Tutorials * DSA * Jobs * Apply for a Job * Apply through Jobathon * Post a Job * Hire through Jobathon * Practice * All DSA Problems * Problem of the Day * GFG SDE Sheet * Contests * Solving For India-Hackthon * GFG Weekly Coding Contest * Job-A-Thon: Hiring Challenge * BiWizard School Contest * All Contests and Events * GBlog * Puzzles * What's New ? Change Language * DSA * Array * Matrix * Strings * Hashing * Linked List * Stack * Queue * Binary Tree * Binary Search Tree * Heap * Graph * Searching * Sorting * Divide & Conquer * Mathematical * Geometric * Bitwise * Greedy * Backtracking * Branch and Bound * Dynamic Programming * Pattern Searching * Randomized Related Articles ▲ Open in App Not now RELATED ARTICLES Write an Article * Write Articles * Pick Topics to write * Guidelines to Write * Get Technical Writing Internship * Write an Interview Experience * Sum of the nodes of a Singly Linked List * Add two numbers represented by linked lists | Set 2 * Program for Nth node from the end of a Linked List * Find the middle of a given linked list * Write a function that counts the number of times a given int occurs in a Linked List * Detect loop in a linked list * Detect and Remove Loop in a Linked List * Add two numbers represented by Linked List * Add two numbers represented by Linked List without any extra space * Reverse a Linked List * Reverse a Linked List in groups of given size * Reverse a Linked List in groups of given size using Stack * Reverse alternate K nodes in a Singly Linked List * Alternate Odd and Even Nodes in a Singly Linked List * Delete alternate nodes of a Linked List * Alternating split of a given Singly Linked List | Set 1 * Identical Linked Lists * Merge Sort for Linked Lists * Merge two sorted linked lists * Merge two sorted lists (in-place) * Merge two sorted arrays Write an Article * Write Articles * Pick Topics to write * Guidelines to Write * Get Technical Writing Internship * Write an Interview Experience * Merge Sort Algorithm * QuickSort * Bubble Sort Algorithm * Tree Traversals (Inorder, Preorder and Postorder) * Binary Search * Arrays in Java * Insertion Sort * Selection Sort Algorithm * What is Linked List Write an Article * Write Articles * Pick Topics to write * Guidelines to Write * Get Technical Writing Internship * Write an Interview Experience * Sum of the nodes of a Singly Linked List * Add two numbers represented by linked lists | Set 2 * Program for Nth node from the end of a Linked List * Find the middle of a given linked list * Write a function that counts the number of times a given int occurs in a Linked List * Detect loop in a linked list * Detect and Remove Loop in a Linked List * Add two numbers represented by Linked List * Add two numbers represented by Linked List without any extra space * Reverse a Linked List * Reverse a Linked List in groups of given size * Reverse a Linked List in groups of given size using Stack * Reverse alternate K nodes in a Singly Linked List * Alternate Odd and Even Nodes in a Singly Linked List * Delete alternate nodes of a Linked List * Alternating split of a given Singly Linked List | Set 1 * Identical Linked Lists * Merge Sort for Linked Lists * Merge two sorted linked lists * Merge two sorted lists (in-place) * Merge two sorted arrays Write an Article * Write Articles * Pick Topics to write * Guidelines to Write * Get Technical Writing Internship * Write an Interview Experience * Merge Sort Algorithm * QuickSort * Bubble Sort Algorithm * Tree Traversals (Inorder, Preorder and Postorder) * Binary Search * Arrays in Java * Insertion Sort * Selection Sort Algorithm * What is Linked List SUM OF THE NODES OF A SINGLY LINKED LIST Improve Article Save Article Like Article * Difficulty Level : Medium * Last Updated : 11 Jan, 2023 ReadDiscussCoursesPracticeVideo Improve Article Save Article Given a singly linked list. The task is to find the sum of nodes of the given linked list. Task is to do A + B + C + D. Examples: Input: 7->6->8->4->1 Output: 26 Sum of nodes: 7 + 6 + 8 + 4 + 1 = 26 Input: 1->7->3->9->11->5 Output: 36 Recommended: Please try your approach on {IDE} first, before moving on to the solution. Recursive Solution: * Call a function by passing the head and variable to store the sum. * Then recursively call the function by passing the next of current node and sum variable. * Add the value of the current node to the sum. Below is the implementation of above approach: * C++ * Java * Python3 * C# * Javascript C++ // C++ implementation to find the sum of // nodes of the Linked List #include <bits/stdc++.h> using namespace std; /* A Linked list node */ struct Node { int data; struct Node* next; }; // function to insert a node at the // beginning of the linked list void push(struct Node** head_ref, int new_data) { /* allocate node */ struct Node* new_node = new Node; /* put in the data */ new_node->data = new_data; /* link the old list to the new node */ new_node->next = (*head_ref); /* move the head to point to the new node */ (*head_ref) = new_node; } // function to recursively find the sum of // nodes of the given linked list void sumOfNodes(struct Node* head, int* sum) { // if head = NULL if (!head) return; // recursively traverse the remaining nodes sumOfNodes(head->next, sum); // accumulate sum *sum = *sum + head->data; } // utility function to find the sum of nodes int sumOfNodesUtil(struct Node* head) { int sum = 0; // find the sum of nodes sumOfNodes(head, &sum); // required sum return sum; } // Driver program to test above int main() { struct Node* head = NULL; // create linked list 7->6->8->4->1 push(&head, 7); push(&head, 6); push(&head, 8); push(&head, 4); push(&head, 1); cout << "Sum of nodes = " << sumOfNodesUtil(head); return 0; } JAVA // Java implementation to find the sum of // nodes of the Linked List class GFG { static int sum=0; // A Linked list node / static class Node { int data; Node next; } // function to insert a node at the // beginning of the linked list static Node push( Node head_ref, int new_data) { // allocate node / Node new_node = new Node(); // put in the data / new_node.data = new_data; // link the old list to the new node / new_node.next = (head_ref); // move the head to point to the new node / (head_ref) = new_node; return head_ref; } // function to recursively find the sum of // nodes of the given linked list static void sumOfNodes( Node head) { // if head = null if (head == null) return; // recursively traverse the remaining nodes sumOfNodes(head.next); // accumulate sum sum = sum + head.data; } // utility function to find the sum of nodes static int sumOfNodesUtil( Node head) { sum = 0; // find the sum of nodes sumOfNodes(head); // required sum return sum; } // Driver program to test above public static void main(String args[]) { Node head = null; // create linked list 7.6.8.4.1 head = push(head, 7); head = push(head, 6); head = push(head, 8); head = push(head, 4); head = push(head, 1); System.out.println( "Sum of nodes = " + sumOfNodesUtil(head)); } } // This code is contributed by Arnab Kundu PYTHON3 # Python3 implementation to find the sum of # nodes of the Linked List import math # class for a Sum class Sum: tsum = None # A Linked list node class Node: def __init__(self,data): self.data = data self.next = None # function to insert a node at the # beginning of the linked list def push(head, data): if not head: return Node(data) # put in the data # and allocate node new_node = Node(data) # link the old list to the new node new_node.next = head # move the head to point # to the new node head = new_node return head # function to recursively find # the sum of nodes of the given # linked list def sumOfNode(head, S): # if head = NULL if not head: return # recursively traverse the # remaining nodes sumOfNode(head.next, S) # accumulate sum S.tsum += head.data # utility function to find # the sum of nodes def sumOfNodesUtil(head): S = Sum() S.tsum = 0 # find the sum of nodes sumOfNode(head, S) # required sum return S.tsum # Driver Code if __name__=='__main__': head = None # create linked list 7->6->8->4->1 head = push(head, 7) head = push(head, 6) head = push(head, 8) head = push(head, 4) head = push(head, 1) print("Sum of Nodes = {}" . format(sumOfNodesUtil(head))) # This code is contributed # by Vikash Kumar 37 C# // C# implementation to find the sum of // nodes of the Linked List using System; class GFG { public static int sum = 0; // A Linked list node / public class Node { public int data; public Node next; } // function to insert a node at the // beginning of the linked list static Node push(Node head_ref, int new_data) { // allocate node / Node new_node = new Node(); // put in the data / new_node.data = new_data; // link the old list to the new node / new_node.next = (head_ref); // move the head to point to the new node / (head_ref) = new_node; return head_ref; } // function to recursively find the sum of // nodes of the given linked list static void sumOfNodes(Node head) { // if head = null if (head == null) return; // recursively traverse the remaining nodes sumOfNodes(head.next); // accumulate sum sum = sum + head.data; } // utility function to find the sum of nodes static int sumOfNodesUtil(Node head) { sum = 0; // find the sum of nodes sumOfNodes(head); // required sum return sum; } // Driver program to test above public static void Main(String[] args) { Node head = null; // create linked list 7.6.8.4.1 head = push(head, 7); head = push(head, 6); head = push(head, 8); head = push(head, 4); head = push(head, 1); Console.WriteLine("Sum of nodes = " + sumOfNodesUtil(head)); } } // This code is contributed by Rajput-Ji JAVASCRIPT <script> // JavaScript implementation to find the sum of // nodes of the Linked List var sum = 0; // A Linked list node / class Node { constructor(val) { this.data = val; this.next = null; } } // function to insert a node at the // beginning of the linked list function push(head_ref , new_data) { // allocate node / var new_node = new Node(); // put in the data / new_node.data = new_data; // link the old list to the new node / new_node.next = (head_ref); // move the head to point to the new node / (head_ref) = new_node; return head_ref; } // function to recursively find the sum of // nodes of the given linked list function sumOfNodes(head) { // if head = null if (head == null) return; // recursively traverse the remaining nodes sumOfNodes(head.next); // accumulate sum sum = sum + head.data; } // utility function to find the sum of nodes function sumOfNodesUtil(head) { sum = 0; // find the sum of nodes sumOfNodes(head); // required sum return sum; } // Driver program to test above var head = null; // create linked list 7.6.8.4.1 head = push(head, 7); head = push(head, 6); head = push(head, 8); head = push(head, 4); head = push(head, 1); document.write("Sum of nodes = " + sumOfNodesUtil(head)); // This code contributed by umadevi9616 </script> Output: Sum of nodes = 26 Time Complexity: O(N) , N is the number of nodes in a linked list. Auxiliary Space: O(N), only if the stack size is considered during recursive calls. Iterative Solution: 1. Initialize a pointer ptr with the head of the linked list and a sum variable with 0. 2. Start traversing the linked list using a loop until all the nodes get traversed. * Add the value of current node to the sum i.e. sum += ptr -> data . * Increment the pointer to the next node of linked list i.e. ptr = ptr ->next . 3. Return the sum. Below is the implementation of above approach: * C++ * Java * Python3 * C# * Javascript C++ // C++ implementation to find the sum of // nodes of the Linked List #include <bits/stdc++.h> using namespace std; /* A Linked list node */ struct Node { int data; struct Node* next; }; // function to insert a node at the // beginning of the linked list void push(struct Node** head_ref, int new_data) { /* allocate node */ struct Node* new_node = new Node; /* put in the data */ new_node->data = new_data; /* link the old list to the new node */ new_node->next = (*head_ref); /* move the head to point to the new node */ (*head_ref) = new_node; } // function to find the sum of // nodes of the given linked list int sumOfNodes(struct Node* head) { struct Node* ptr = head; int sum = 0; while (ptr != NULL) { sum += ptr->data; ptr = ptr->next; } return sum; } // Driver program to test above int main() { struct Node* head = NULL; // create linked list 7->6->8->4->1 push(&head, 7); push(&head, 6); push(&head, 8); push(&head, 4); push(&head, 1); cout << "Sum of nodes = " << sumOfNodes(head); return 0; } JAVA // Java implementation to find the sum of // nodes of the Linked List class GFG { static Node head; /* A Linked list node */ static class Node { int data; Node next; }; // function to insert a node at the // beginning of the linked list // Inserting node at the beginning static Node push(Node head_ref, int new_data) { /* allocate node */ Node new_node = new Node(); /* put in the data */ new_node.data = new_data; /* link the old list to the new node */ new_node.next = head_ref; /* move the head to point to the new node */ head_ref = new_node; return head=head_ref; } // function to find the sum of // nodes of the given linked list static int sumOfNodes( Node head) { Node ptr = head; int sum = 0; while (ptr != null) { sum += ptr.data; ptr = ptr.next; } return sum; } // Driver code public static void main(String[] args) { // create linked list 7.6.8.4.1 push(head, 7); push(head, 6); push(head, 8); push(head, 4); push(head, 1); System.out.println("Sum of nodes = " + sumOfNodes(head)); } } /* This code is contributed by PrinciRaj1992 */ PYTHON3 # Python3 implementation to find the # sum of nodes of the Linked List import math # A Linked list node class Node: def __init__(self, data): self.data = data self.next = None # function to insert a node at the # beginning of the linked list def push(head_ref, new_data): # allocate node new_node = Node(new_data) # put in the data new_node.data = new_data # link the old list to the new node new_node.next = head_ref # move the head to po to the new node head_ref = new_node return head_ref # function to find the sum of # nodes of the given linked list def sumOfNodes(head): ptr = head sum = 0 while (ptr != None): sum = sum + ptr.data ptr = ptr.next return sum # Driver Code if __name__=='__main__': head = None # create linked list 7.6.8.4.1 head = push(head, 7) head = push(head, 6) head = push(head, 8) head = push(head, 4) head = push(head, 1) print("Sum of nodes =", sumOfNodes(head)) # This code is contributed by Srathore C# // C# implementation to find the sum of // nodes of the Linked List using System; class GFG { static Node head; /* A Linked list node */ public class Node { public int data; public Node next; }; // function to insert a node at the // beginning of the linked list // Inserting node at the beginning static Node push(Node head_ref, int new_data) { /* allocate node */ Node new_node = new Node(); /* put in the data */ new_node.data = new_data; /* link the old list to the new node */ new_node.next = head_ref; /* move the head to point to the new node */ head_ref = new_node; return head=head_ref; } // function to find the sum of // nodes of the given linked list static int sumOfNodes( Node head) { Node ptr = head; int sum = 0; while (ptr != null) { sum += ptr.data; ptr = ptr.next; } return sum; } // Driver code public static void Main(String[] args) { // create linked list 7.6.8.4.1 push(head, 7); push(head, 6); push(head, 8); push(head, 4); push(head, 1); Console.WriteLine("Sum of nodes = " + sumOfNodes(head)); } } // This code is contributed by 29AjayKumar JAVASCRIPT <script> // javascript implementation to find the sum of // nodes of the Linked List var head; /* A Linked list node */ class Node { constructor() { this.data = 0; this.next = null; } } // function to insert a node at the // beginning of the linked list // Inserting node at the beginning function push(head_ref , new_data) { /* allocate node */ var new_node = new Node(); /* put in the data */ new_node.data = new_data; /* link the old list to the new node */ new_node.next = head_ref; /* move the head to point to the new node */ head_ref = new_node; return head = head_ref; } // function to find the sum of // nodes of the given linked list function sumOfNodes(head) { var ptr = head; var sum = 0; while (ptr != null) { sum += ptr.data; ptr = ptr.next; } return sum; } // Driver code // create linked list 7.6.8.4.1 push(head, 7); push(head, 6); push(head, 8); push(head, 4); push(head, 1); document.write("Sum of nodes = " + sumOfNodes(head)); // This code contributed by aashish1995 </script> Output: Sum of nodes = 26 Time Complexity: O(N), N is the number of nodes in a linked list. Auxiliary Space: O(1) My Personal Notes arrow_drop_up Save PLEASE LOGIN TO COMMENT... Related Articles 1. Sum and Product of all even digit sum Nodes of a Singly Linked List 2. Sum and Product of the nodes of a Singly Linked List which are divisible by K 3. Sum and Product of the nodes of a Circular Singly Linked List which are divisible by K 4. Sum and Product of all Fibonacci Nodes of a Singly Linked List 5. Remove all the Even Digit Sum Nodes from a Circular Singly Linked List 6. Sum and Product of all Prime Nodes of a Singly Linked List 7. Convert Singly Linked List to XOR Linked List 8. Difference between Singly linked list and Doubly linked list 9. Convert singly linked list into circular linked list 10. Product of the nodes of a Singly Linked List Like8 Next Add two numbers represented by linked lists | Set 2 Article Contributed By : Rajput-Ji @Rajput-Ji Vote for difficulty Current difficulty : Medium Easy Normal Medium Hard Expert Improved By : * andrew1234 * Vikash Kumar 37 * Rajput-Ji * princiraj1992 * 29AjayKumar * sapnasingh4991 * aashish1995 * umadevi9616 * simranarora5sos Article Tags : * Algorithms-Recursion * Data Structures-Linked List * Traversal * DSA * Linked List Practice Tags : * Linked List * Traversal Improve Article Report Issue What's New DSA: Basic To Advanced Course In JAVA/C++ Language View Details Python Backend Development With Django New Course Launch! View Details Master Android App Development with Kotlin New Course Launch! View Details Complete Interview Preparation Course View Details IMPROVE YOUR CODING SKILLS WITH PRACTICE Try It! A-143, 9th Floor, Sovereign Corporate Tower, Sector-136, Noida, Uttar Pradesh - 201305 feedback@geeksforgeeks.org * Company * About Us * Careers * In Media * Contact Us * Privacy Policy * Copyright Policy * Advertise with us * Learn * DSA * Algorithms * Data Structures * SDE Cheat Sheet * Machine learning * CS Subjects * Video Tutorials * Courses * News * Top News * Technology * Work & Career * Business * Finance * Lifestyle * Knowledge * Languages * Python * Java * CPP * Golang * C# * SQL * Kotlin * Web Development * Web Tutorials * Django Tutorial * HTML * JavaScript * Bootstrap * ReactJS * NodeJS * Contribute * Write an Article * Improve an Article * Pick Topics to Write * Write Interview Experience * Internships * Video Internship @geeksforgeeks , Some rights reserved We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy Got It ! START YOUR CODING JOURNEY NOW! Login Register WELCOME TO GEEKSFORGEEKS.ORG GEEKSFORGEEKS.ORG ASKS FOR YOUR CONSENT TO USE YOUR PERSONAL DATA TO: * perm_identity Personalised ads and content, ad and content measurement, audience insights and product development * devices Store and/or access information on a device expand_moreremove Learn more * How can I change my choice? * What if I don't consent? * How does legitimate interest work? * Do I have to consent to everything? Your personal data will be processed and information from your device (cookies, unique identifiers, and other device data) may be stored by, accessed by and shared with third party vendors, or used specifically by this site or app. Some vendors may process your personal data on the basis of legitimate interest, which you can object to by managing your options below. Look for a link at the bottom of this page or in our privacy policy where you can withdraw consent. Consent Manage options arrow_back Data preferences MANAGE YOUR DATA You can choose how your personal data is used. Vendors want your permission to do the following: TCF vendors help_outline STORE AND/OR ACCESS INFORMATION ON A DEVICE Cookies, device identifiers, or other information can be stored or accessed on your device for the purposes presented to you. View details Consent SELECT BASIC ADS Ads can be shown to you based on the content you’re viewing, the app you’re using, your approximate location, or your device type. View details ConsentLegitimate interesthelp_outline CREATE A PERSONALISED ADS PROFILE A profile can be built about you and your interests to show you personalised ads that are relevant to you. View details ConsentLegitimate interesthelp_outline SELECT PERSONALISED ADS Personalised ads can be shown to you based on a profile about you. View details Consent CREATE A PERSONALISED CONTENT PROFILE A profile can be built about you and your interests to show you personalised content that is relevant to you. View details ConsentLegitimate interesthelp_outline SELECT PERSONALISED CONTENT Personalised content can be shown to you based on a profile about you. View details ConsentLegitimate interesthelp_outline MEASURE AD PERFORMANCE The performance and effectiveness of ads that you see or interact with can be measured. View details ConsentLegitimate interesthelp_outline MEASURE CONTENT PERFORMANCE The performance and effectiveness of content that you see or interact with can be measured. View details ConsentLegitimate interesthelp_outline APPLY MARKET RESEARCH TO GENERATE AUDIENCE INSIGHTS Market research can be used to learn more about the audiences who visit sites/apps and view ads. View details ConsentLegitimate interesthelp_outline DEVELOP AND IMPROVE PRODUCTS Your data can be used to improve existing systems and software, and to develop new products View details ConsentLegitimate interesthelp_outline ENSURE SECURITY, PREVENT FRAUD, AND DEBUG help_outline Your data can be used to monitor for and prevent fraudulent activity, and ensure systems and processes work properly and securely. View details TECHNICALLY DELIVER ADS OR CONTENT help_outline Your device can receive and send information that allows you to see and interact with ads and content. View details MATCH AND COMBINE OFFLINE DATA SOURCES help_outline Data from offline data sources can be combined with your online activity in support of one or more purposes View details LINK DIFFERENT DEVICES help_outline Different devices can be determined as belonging to you or your household in support of one or more of purposes. View details RECEIVE AND USE AUTOMATICALLY-SENT DEVICE CHARACTERISTICS FOR IDENTIFICATION help_outline Your device might be distinguished from other devices based on information it automatically sends, such as IP address or browser type. View details USE PRECISE GEOLOCATION DATA Your precise geolocation data can be used in support of one or more purposes. This means your location can be accurate to within several meters. View details Consent You can choose your data preferences. This site or app wants your permission to do the following: Site or app STORE AND/OR ACCESS INFORMATION ON A DEVICE Cookies, device identifiers, or other information can be stored or accessed on your device for the purposes presented to you. View details Consent SELECT BASIC ADS Ads can be shown to you based on the content you’re viewing, the app you’re using, your approximate location, or your device type. View details Consent CREATE A PERSONALISED ADS PROFILE A profile can be built about you and your interests to show you personalised ads that are relevant to you. View details Consent SELECT PERSONALISED ADS Personalised ads can be shown to you based on a profile about you. View details Consent CREATE A PERSONALISED CONTENT PROFILE A profile can be built about you and your interests to show you personalised content that is relevant to you. View details Consent SELECT PERSONALISED CONTENT Personalised content can be shown to you based on a profile about you. View details Consent MEASURE AD PERFORMANCE The performance and effectiveness of ads that you see or interact with can be measured. View details Consent MEASURE CONTENT PERFORMANCE The performance and effectiveness of content that you see or interact with can be measured. View details Consent APPLY MARKET RESEARCH TO GENERATE AUDIENCE INSIGHTS Market research can be used to learn more about the audiences who visit sites/apps and view ads. View details Consent DEVELOP AND IMPROVE PRODUCTS Your data can be used to improve existing systems and software, and to develop new products View details Consent Vendor preferences Accept all Confirm choices arrow_back Vendor preferences CONFIRM OUR VENDORS Vendors can use your data to provide services. Declining a vendor can stop them from using the data you shared. TCF vendors help_outline EXPONENTIAL INTERACTIVE, INC D/B/A VDX.TV Cookie duration: 90 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ROQ.AD INC. Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch Consent INDEX EXCHANGE, INC. Cookie duration: 395 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline QUANTCAST Cookie duration: 397 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline BEESWAXIO CORPORATION Cookie duration: 395 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline SOVRN HOLDINGS INC Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADIKTEEV Doesn't use cookies. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline RTB HOUSE S.A. Cookie duration: 365 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline THE TRADE DESK Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADMETRICS GMBH Doesn't use cookies. View details | Privacy policylaunch Consent AMOBEE INC. Cookie duration: 180 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline EPSILON Cookie duration: 184 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline YAHOO EMEA LIMITED Cookie duration: 397 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADVENTORI SAS Cookie duration: 90 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline TRIPLELIFT, INC. Cookie duration: 90 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline XANDR, INC. Cookie duration: 90 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline NEORY GMBH Cookie duration: 90 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline UNRULY GROUP LLC Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline NEURAL.ONE Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADITION (VIRTUAL MINDS GMBH) Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ACTIVE AGENT (VIRTUAL MINDS GMBH) Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline TABOOLA EUROPE LIMITED Cookie duration: 366 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline SMART ADSERVER Cookie duration: 396 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADFORM A/S Cookie duration: 1 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline MAGNITE, INC. Cookie duration: 365 (days). Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADARA MEDIA UNLIMITED Cookie duration: 730 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline SIFT MEDIA, INC Doesn't use cookies. View details | Privacy policylaunch Consent RAKUTEN MARKETING LLC Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline AVOCET SYSTEMS LIMITED Cookie duration: 300 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline LIFESTREET CORPORATION Cookie duration: 730 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline SIZMEK BY AMAZON Cookie duration: 396 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline OPENX Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline YIELDLAB (VIRTUAL MINDS GMBH) Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ROKU ADVERTISING SERVICES Cookie duration: 396 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline NANO INTERACTIVE GROUP LTD. Cookie duration: 182 (days). View details | Privacy policylaunch ConsentLegitimate interesthelp_outline SIMPLIFI HOLDINGS INC Cookie duration: 366 (days). Uses other forms of storage. View details | Privacy policylaunch Consent PUBMATIC, INC Cookie duration: 90 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline COMSCORE B.V. Cookie duration: 720 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline FLASHTALKING, INC. Cookie duration: 730 (days). View details | Privacy policylaunch Consent MEDIAMATH, INC. Cookie duration: 393 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline PULSEPOINT, INC. Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline SMAATO, INC. Cookie duration: 21 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline SEMASIO GMBH Cookie duration: 366 (days). Cookie duration resets each session. View details | Privacy policylaunch Consent CRIMTAN HOLDINGS LIMITED Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline BETGENIUS LTD Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline CRITEO SA Cookie duration: 390 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADLOOX SA Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline BLIS GLOBAL LIMITED Cookie duration: 400 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline LOTAME SOLUTIONS, INC Cookie duration: 274 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch Consent LIVERAMP Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline GROUPM UK LIMITED Cookie duration: 395 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline LOOPME LIMITED Cookie duration: 365 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline DYNATA LLC Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch Consent ASK LOCALA Cookie duration: 1 (days). View details | Privacy policylaunch ConsentLegitimate interesthelp_outline NEAR INTELLIGENCE Doesn't use cookies. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline DOUBLEVERIFY INC. Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline BIDSWITCH GMBH Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline IPONWEB GMBH Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline NEXTROLL, INC. Cookie duration: 183 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ID5 TECHNOLOGY LTD Cookie duration: 90 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch Consent TEADS FRANCE SAS Cookie duration: 365 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline STRÖER SSP GMBH (SSP) Cookie duration: 365 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline STRÖER SSP GMBH (DSP) Cookie duration: 90 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline PLATFORM161 B.V. Cookie duration: 396 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADACADO TECHNOLOGIES INC. (DBA ADACADO) Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline BASIS GLOBAL TECHNOLOGIES, INC. Cookie duration: 30 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline SMADEX, S.L.U. Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline BOMBORA INC. Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline SPOTX, INC Cookie duration: 366 (days). Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline EASYMEDIA GMBH Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch Consent PLISTA GMBH Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline REMERGE GMBH Doesn't use cookies. View details | Privacy policylaunch Consent ADVANCED STORE GMBH Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline MAGNITE CTV, INC. Cookie duration: 366 (days). View details | Privacy policylaunch ConsentLegitimate interesthelp_outline DELTA PROJECTS AB Cookie duration: 365 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline USEMAX ADVERTISEMENT (EMEGO GMBH) Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline EMETRIQ GMBH Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch Consent PUBLICIS MEDIA GMBH Cookie duration: 90 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch Consent M.D. PRIMIS TECHNOLOGIES LTD. Cookie duration: 25 (days). View details | Storage details | Privacy policylaunch Consent ONETAG LIMITED Cookie duration: 730 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline CLOUD TECHNOLOGIES S.A. Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline SMARTOLOGY LIMITED Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline IMPROVE DIGITAL Cookie duration: 90 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADOBE ADVERTISING CLOUD Cookie duration: 365 (days). View details | Privacy policylaunch ConsentLegitimate interesthelp_outline BANNERFLOW AB Cookie duration: 366 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline TABMO SAS Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline INTEGRAL AD SCIENCE, INC. Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline WIZALY Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch Consent WEBORAMA Cookie duration: 393 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline JIVOX CORPORATION Cookie duration: 30 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline SOJERN, INC. Cookie duration: 365 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline MOBILE PROFESSIONALS BV / SAGE&ARCHER BV Doesn't use cookies. View details | Privacy policylaunch Consent ON DEVICE RESEARCH LIMITED Cookie duration: 30 (days). View details | Storage details | Privacy policylaunch Consent ROCKABOX MEDIA LTD T/A SCOOTA Cookie duration: 365 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline EXACTAG GMBH Cookie duration: 180 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline CELTRA, INC. Doesn't use cookies. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline MAINADV SRL Cookie duration: 1 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline GEMIUS SA Cookie duration: 395 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline THE KANTAR GROUP LIMITED Cookie duration: 914 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch Consent IMPACT TECH INC. Cookie duration: 720 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline NIELSEN MEDIA RESEARCH LTD. Cookie duration: 120 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ORACLE ADVERTISING Cookie duration: 180 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline 1000MERCIS (NUMBERLY) Cookie duration: 180 (days). Cookie duration resets each session. View details | Privacy policylaunch Consent AUDIENCEPROJECT APS Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline DEMANDBASE, INC. Cookie duration: 730 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline EFFILIATION / EFFINITY Cookie duration: 2 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline ARRIVALIST CO. Cookie duration: 365 (days). Cookie duration resets each session. View details | Privacy policylaunch Consent SEENTHIS AB Doesn't use cookies. View details | Privacy policylaunch COMMANDERS ACT Cookie duration: 365 (days). View details | Storage details | Privacy policylaunch Consent TRAVEL AUDIENCE GMBH Cookie duration: 397 (days). Cookie duration resets each session. View details | Privacy policylaunch Consent HUMAN Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADLUDIO LTD. Doesn't use cookies. View details | Privacy policylaunch Consent NEODATA GROUP SRL Cookie duration: 366 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline INNOVID LLC Cookie duration: 90 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline PAPIRFLY AS Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline NEUSTAR, INC., A TRANSUNION COMPANY Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline SALESFORCE.COM, INC. Cookie duration: 180 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch Consent VERVE GROUP EUROPE GMBH Doesn't use cookies. View details | Privacy policylaunch Consent KOCHAVA INC. Doesn't use cookies. View details | Privacy policylaunch Consent OTTO (GMBH & CO KG) Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADOBE AUDIENCE MANAGER, ADOBE EXPERIENCE PLATFORM Cookie duration: 180 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline LOCALSENSOR B.V. Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ONLINE SOLUTION Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline RELAY42 NETHERLANDS B.V. Cookie duration: 730 (days). View details | Storage details | Privacy policylaunch Consent GP ONE GMBH Cookie duration: Uses session cookies. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline LIFTOFF MOBILE, INC. Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline THE MEDIAGRID INC. Cookie duration: 365 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline MINDTAKE RESEARCH GMBH Cookie duration: 93 (days). Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline CINT AB Cookie duration: 730 (days). View details | Privacy policylaunch Consent GOOGLE ADVERTISING PRODUCTS Cookie duration: 396 (days). Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline GFK SE Cookie duration: 730 (days). Uses other forms of storage. View details | Privacy policylaunch Consent REVJET Cookie duration: 730 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline PROTECTED MEDIA LTD Doesn't use cookies. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline CLINCH LABS LTD Cookie duration: 730 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ORACLE DATA CLOUD - MOAT Doesn't use cookies. View details | Privacy policylaunch HEARTS AND SCIENCE MÜNCHEN GMBH Cookie duration: 60 (days). Cookie duration resets each session. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline AMAZON ADVERTISING Cookie duration: 396 (days). Cookie duration resets each session. Uses other forms of storage. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline MOLOCO, INC. Cookie duration: 730 (days). Cookie duration resets each session. Uses other forms of storage. View details | Privacy policylaunch ConsentLegitimate interesthelp_outline ADTRIBA GMBH Cookie duration: 730 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch Consent OBJECTIVE PARTNERS BV Cookie duration: 90 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch Consent ENSIGHTEN Cookie duration: 1825 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline EBAY INC Cookie duration: 90 (days). View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline METRIXLAB NEDERLAND B.V. Cookie duration: 730 (days). Uses other forms of storage. View details | Privacy policylaunch Consent HURRA COMMUNICATIONS GMBH Cookie duration: 366 (days). Cookie duration resets each session. View details | Storage details | Privacy policylaunch ConsentLegitimate interesthelp_outline General vendors help_outline GSKINNER Privacy policylaunch Consent AKAMAI Privacy policylaunch Consent FACEBOOK Privacy policylaunch Consent AUNICA Privacy policylaunch Consent BOOKING.COM Privacy policylaunch Consent C3 METRICS Privacy policylaunch Consent IBM Privacy policylaunch Consent EVIDON Privacy policylaunch Consent CUBED Privacy policylaunch Consent OPTOMATON Privacy policylaunch Consent INTELLIAD Privacy policylaunch Consent ANALIGHTS Privacy policylaunch Consent DSTILLERY Privacy policylaunch Consent DMA INSTITUTE Privacy policylaunch Consent ZMS Privacy policylaunch Consent DENTSU AEGIS NETWORK Privacy policylaunch Consent IGNITION ONE Privacy policylaunch Consent OMNICOM MEDIA GROUP Privacy policylaunch Consent DIGISEG Privacy policylaunch Consent RESONATE Privacy policylaunch Consent HAENSEL AMS Privacy policylaunch Consent BDSK HANDELS GMBH & CO. KG Privacy policylaunch Consent VIDEOLOGY Privacy policylaunch Consent TRADEDOUBLER AB Privacy policylaunch Consent TRUSTARC Privacy policylaunch Consent TRUEFFECT Privacy policylaunch Consent MARKETING SCIENCE CONSULTING GROUP, INC. Privacy policylaunch Consent DENTSU Privacy policylaunch Consent ESSENS Privacy policylaunch Consent TRAVEL DATA COLLECTIVE Privacy policylaunch Consent ADVOLUTION.CONTROL Privacy policylaunch Consent WIDESPACE Privacy policylaunch Consent ADLEDGE Privacy policylaunch Consent VIMEO Privacy policylaunch Consent ADMAXIM Privacy policylaunch Consent BATCH MEDIA Privacy policylaunch Consent VODAFONE GMBH Privacy policylaunch Consent SCENESTEALER Privacy policylaunch Consent NETQUEST Privacy policylaunch Consent MANAGE.COM Privacy policylaunch Consent CLOUDFLARE Privacy policylaunch Consent PIXALATE Privacy policylaunch Consent HAVAS MEDIA FRANCE - DBI Privacy policylaunch Consent NETFLIX Privacy policylaunch Consent EBUILDERS Privacy policylaunch Consent APPLOVIN CORP. Privacy policylaunch Consent FRACTIONAL MEDIA Privacy policylaunch Consent RACKSPACE Privacy policylaunch Consent MSI-ACI Privacy policylaunch Consent NAVEGG Privacy policylaunch Consent ADMEDO Privacy policylaunch Consent MOBITRANS Privacy policylaunch Consent ADEX Privacy policylaunch Consent SPOTAD Privacy policylaunch Consent AARKI Privacy policylaunch Consent SFR Privacy policylaunch Consent CABLATO Privacy policylaunch Consent WAYSTACK Privacy policylaunch Consent TRESENSA Privacy policylaunch Consent SOLOCAL Privacy policylaunch Consent Accept all Confirm choices Close