LC0237 - Delete a given Node when a node is given. (0(1) solution) (EASY)#
This is the solution for Leetcode Problem 237 - Delete a given Node when a node is given. (0(1) solution).
1"""Solution to Leetcode 237 - 237
2
3Link : https://leetcode.com/problems/delete-node-in-a-linked-list/
4Level: easy
5"""
6
7
8class Solution:
9 def __init__(self, *args, **kwargs):
10 """Instantiates the solution object"""
11 self.args = args
12 self.kwargs = kwargs
13
14 def solve(self, *args, **kwargs):
15 """This implements the main solution"""
16 raise NotImplementedError("This solution is not yet implemented.")