Day8-9
This commit is contained in:
17
83. Remove Duplicates from Sorted List/Program.cs
Normal file
17
83. Remove Duplicates from Sorted List/Program.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace _83._Remove_Duplicates_from_Sorted_List;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
ListNode l1 = new ListNode(1);
|
||||
ListNode l2 = new ListNode(1);
|
||||
ListNode l3 = new ListNode(4);
|
||||
ListNode l4 = new ListNode(4);
|
||||
|
||||
l1.next = l2;
|
||||
l2.next = l3;
|
||||
l3.next = l4;
|
||||
Console.WriteLine(new Solution().DeleteDuplicates(null));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user