leetcode.com 2025-07-14
🟢1290.convert-binary-number-in-a-linked-list-to-integer
🏷️ Tags
#linked_list #math
🟢1290.convert-binary-number-in-a-linked-list-to-integer
🏷️ Tags
#linked_list #math
Telegraph
convert-binary-number-in-a-linked-list-to-integer
Given head which is a reference node to a singly-linked list. The value of each node in the linked list is either 0 or 1. The linked list holds the binary representation of a number. Return the decimal value of the number in the linked list. The most significant…
leetcode.cn 2025-11-01
🟡3217.delete-nodes-from-linked-list-present-in-array
🏷️ Tags
#array #hash_table #linked_list
🟡3217.delete-nodes-from-linked-list-present-in-array
🏷️ Tags
#array #hash_table #linked_list
Telegraph
delete-nodes-from-linked-list-present-in-array
给你一个整数数组 nums 和一个链表的头节点 head。从链表中移除所有存在于 nums 中的节点后,返回修改后的链表的头节点。 示例 1: 输入: nums = [1,2,3], head = [1,2,3,4,5] 输出: [4,5] 解释: 移除数值为 1, 2 和 3 的节点。 示例 2: 输入: nums = [1], head = [1,2,1,2,1,2] 输出: [2,2,2] 解释: 移除数值为 1 的节点。 示例 3: 输入: nums = [5], head = [1,2,3…
leetcode.com 2025-11-01
🟡3217.delete-nodes-from-linked-list-present-in-array
🏷️ Tags
#array #hash_table #linked_list
🟡3217.delete-nodes-from-linked-list-present-in-array
🏷️ Tags
#array #hash_table #linked_list
Telegraph
delete-nodes-from-linked-list-present-in-array
You are given an array of integers nums and the head of a linked list. Return the head of the modified linked list after removing all nodes from the linked list that have a value that exists in nums. Example 1: Input: nums = [1,2,3], head = [1,2,3,4,5]…