and I got it wrong, but baby steps.
I'm starting to understand the idea of reversing a LinkedList.
Since they do have indexes you can retrieve in O(1) time, you can work with half of the LinkedList to check if they are palindrome.
#algos
and I got it wrong, but baby steps.
I'm starting to understand the idea of reversing a LinkedList.
Since they do have indexes you can retrieve in O(1) time, you can work with half of the LinkedList to check if they are palindrome.
#algos
www.openmymind.net/Zigs-New-Lin...
#zig #ziglang
www.openmymind.net/Zigs-New-Lin...
#zig #ziglang
Now supports bidirectional traversal, backward iteration, and precise node removal (removeHead/Tail, deleteFirst/Last). Type-safe, iterable, works everywhere.
📦 jsr.io/@tamatar/lin...
💻 github.com/KiranNamawar...
#TypeScript #DataStructures
Now supports bidirectional traversal, backward iteration, and precise node removal (removeHead/Tail, deleteFirst/Last). Type-safe, iterable, works everywhere.
📦 jsr.io/@tamatar/lin...
💻 github.com/KiranNamawar...
#TypeScript #DataStructures
- o uso de streams implica 10x penalidade
- usar linkedlist para appendar é melhor do que arraylist
Usei JMH para tentar simular e não encontrei nada disso...
- o uso de streams implica 10x penalidade
- usar linkedlist para appendar é melhor do que arraylist
Usei JMH para tentar simular e não encontrei nada disso...
JSR: jsr.io/@tamatar/lin...
Code: github.com/KiranNamawar...
#TypeScript #JavaScript #LinkedList #DataStructure
JSR: jsr.io/@tamatar/lin...
Code: github.com/KiranNamawar...
#TypeScript #JavaScript #LinkedList #DataStructure
github.com/Manjago/aoc2...
Joshua Bloch tweeted: "Does anyone actually use LinkedList? I wrote it, and I never use it".
LinkedList came in handy in this puzzle :-)
github.com/Manjago/aoc2...
Joshua Bloch tweeted: "Does anyone actually use LinkedList? I wrote it, and I never use it".
LinkedList came in handy in this puzzle :-)
#programming #chatbot #datastructures #linkedlist #Cprogramming
https://programmerhumor.io/ai-memes/every-ai-secretly-wants-to-write-code-jo5i
#programming #chatbot #datastructures #linkedlist #Cprogramming
https://programmerhumor.io/ai-memes/every-ai-secretly-wants-to-write-code-jo5i
I might have reached the limits on how practically fast my LinkedList can be to the GDScript array
I'll make some replies explaining my results, but if you want to take a look at the code yourself, I've been uploading the addon to a public repo
codeberg.org/Wolfmyths/Go...
I might have reached the limits on how practically fast my LinkedList can be to the GDScript array
I'll make some replies explaining my results, but if you want to take a look at the code yourself, I've been uploading the addon to a public repo
codeberg.org/Wolfmyths/Go...
But as far as implementations or even using Java's LinkedList, nope. docs.oracle.com/javase/8/doc...
But as far as implementations or even using Java's LinkedList, nope. docs.oracle.com/javase/8/doc...
Elas brilham como tijolos para construir outros algoritmos (LinkedHashMap, SkipList, etc.)
Elas brilham como tijolos para construir outros algoritmos (LinkedHashMap, SkipList, etc.)
#golang
medium.com/@yuseferi/l...
#golang
medium.com/@yuseferi/l...
e.g. `foo.next(); foo.next(); foo.next()` not `foo.next().next().next()`
e.g. `foo.next(); foo.next(); foo.next()` not `foo.next().next().next()`
Implemented the pop() method for a Doubly Linked List in JavaScript. Removing nodes from the end in O(1) time really highlights the power of having backward pointers. Handling edge cases like empty and single-node lists is becoming second nature.
#JavaScript #LinkedList
Implemented the pop() method for a Doubly Linked List in JavaScript. Removing nodes from the end in O(1) time really highlights the power of having backward pointers. Handling edge cases like empty and single-node lists is becoming second nature.
#JavaScript #LinkedList