$$O(n^2)$$
time complexity?
+
+---
+
+## Solution for Two Sum Problem
+
+### Intuition and Approach
+
+The goal is to remove all elements from a sorted linked list that have duplicate values, ensuring that each element appears only once. We use a dummy node to simplify handling edge cases and traverse the list, removing duplicates as we encounter them.
++ Input: nums = {("["+ nums.join(", ")+ "]")}, target = {target} +
++ Output: {("["+ result.join(", ")+ "]")} +
++ Input: nums = {("["+ nums.join(", ")+ "]")}, target = {target} +
++ Output: {("["+ result.join(", ")+ "]")} +
++ Input: nums = {("["+ nums.join(", ")+ "]")}, target = {target} +
++ Output: {("["+ result.join(", ")+ "]")} +
+$$O(n^2)$$
time complexity?
-
---
## Solution for Two Sum Problem
From a22835de49913109962fb97846c6cb81a321ae47 Mon Sep 17 00:00:00 2001
From: Aaradhya_Singh <123281503+kyra-09@users.noreply.github.com>
Date: Fri, 7 Jun 2024 14:32:12 +0530
Subject: [PATCH 4/7] Delete
dsa-solutions/lc-solutions/0000-0099/0082-Remove-Duplicates-from-Sorted-List
II.md
---
...2-Remove-Duplicates-from-Sorted-List II.md | 566 ------------------
1 file changed, 566 deletions(-)
delete mode 100644 dsa-solutions/lc-solutions/0000-0099/0082-Remove-Duplicates-from-Sorted-List II.md
diff --git a/dsa-solutions/lc-solutions/0000-0099/0082-Remove-Duplicates-from-Sorted-List II.md b/dsa-solutions/lc-solutions/0000-0099/0082-Remove-Duplicates-from-Sorted-List II.md
deleted file mode 100644
index 29a16e5d4..000000000
--- a/dsa-solutions/lc-solutions/0000-0099/0082-Remove-Duplicates-from-Sorted-List II.md
+++ /dev/null
@@ -1,566 +0,0 @@
----
-id: remove-duplicates-from-sorted-list-2
-title: Remove Duplicated From Sorted List 2 Solution
-sidebar_label: 0082 - Remove Duplicates from Sorted List II
-tags:
- - Remove Duplicates from Sorted List II
- - Linked List
- - Two Pointers
- - LeetCode
- - C++
-description: "Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted as well."
----
-
-In this page, we will solve the Remove Duplicates from Sorted List II problem using . We will provide the implementation of the solution in C++ and python.
-
-## Problem Description
-
-Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Return the linked list sorted as well.
-
-### Examples
-
-**Example 1:**
-
-```plaintext
-Input: head = [1,2,3,3,4,4,5]
-Output: [1,2,5]
-```
-
-**Example 2:**
-
-```plaintext
-Input: head = [1,1,1,2,3]
-Output: [2,3]
-```
-
-### Constraints
-
-- `The number of nodes in the list is in the range [0, 300].`
-- `-100 <= Node.val <= 100`
-- `The list is guaranteed to be sorted in ascending order.`
-- Only one valid answer exists.
-
----
-
-## Solution for Two Sum Problem
-
-### Intuition and Approach
-
-The goal is to remove all elements from a sorted linked list that have duplicate values, ensuring that each element appears only once. We use a dummy node to simplify handling edge cases and traverse the list, removing duplicates as we encounter them.
-- Input: nums = {("["+ nums.join(", ")+ "]")}, target = {target} -
-- Output: {("["+ result.join(", ")+ "]")} -
-- Input: nums = {("["+ nums.join(", ")+ "]")}, target = {target} -
-- Output: {("["+ result.join(", ")+ "]")} -
-- Input: nums = {("["+ nums.join(", ")+ "]")}, target = {target} -
-- Output: {("["+ result.join(", ")+ "]")} -
-