Daily challenge for 2025-05-17
137. Delete Node in a Linked List
Write a function solve that deletes a given node (not the tail) from a singly linked list. Return the haed of the updated linked list.
Example:Input: [4,5,1,9], node=5Output: [4,1,9]
Run this challenge interactively in Python or JavaScript when the app loads.