Skip to content Skip to sidebar Skip to footer
Showing posts with the label Linked List

Using Linked Lists And Patterns In Python

Trying to write a function that will iterate over the linked list, sum up all of the odd numbers an… Read more Using Linked Lists And Patterns In Python

How Does This Recursive Function To Reverse A Linked List Work?

I found the function below that reverses a linked list recursively: def recursive(self, head, end):… Read more How Does This Recursive Function To Reverse A Linked List Work?

Python Linked List Minimum Value

I am trying to find the minimum value in the list without having to use the min function and just b… Read more Python Linked List Minimum Value

Leetcode 234: Palindrome Linkedlist

I am looking at a solution for 234. Palindrome Linked List: Given the head of a singly linked list… Read more Leetcode 234: Palindrome Linkedlist

How To Generate A Linked-list From A Standard List In Python

As part of a bigger project, I'm trying to generate a linked-list from a standard list. I'v… Read more How To Generate A Linked-list From A Standard List In Python

Cython Implementation No Faster Than Pure Python

For an exercise I've written a XOR doubly-linked list %%cython from cpython.object cimport PyO… Read more Cython Implementation No Faster Than Pure Python