leetcode.com 2026-06-15
🟡2095.delete-the-middle-node-of-a-linked-list
🏷️ Tags
#linked_list #two_pointers
🟡2095.delete-the-middle-node-of-a-linked-list
🏷️ Tags
#linked_list #two_pointers
Telegraph
delete-the-middle-node-of-a-linked-list
You are given the head of a linked list. Delete the middle node, and return the head of the modified linked list. The middle node of a linked list of size n is the ⌊n / 2⌋th node from the start using 0-based indexing, where ⌊x⌋ denotes the largest integer…
leetcode.cn 2026-06-25
🟡3737.count-subarrays-with-majority-element-i
🏷️ Tags
#segment_tree #array #hash_table #divide_and_conquer #counting #prefix_sum #merge_sort
🟡3737.count-subarrays-with-majority-element-i
🏷️ Tags
#segment_tree #array #hash_table #divide_and_conquer #counting #prefix_sum #merge_sort
Telegraph
count-subarrays-with-majority-element-i
给你一个整数数组 nums 和一个整数 target。