Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
eminencegrs committed Nov 9, 2024
1 parent 81c52f7 commit d0dfc06
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
using System.Diagnostics.CodeAnalysis;

namespace LeetCode.Challenges.Problems1XX.P141_LinkedListCycle;

[ExcludeFromCodeCoverage]
public class ListNode(int x)
{
public int Value { get; set; } = x;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace LeetCode.Challenges.Problems1XX.P142_LinkedListCycle2;
namespace LeetCode.Challenges.Problems1XX.P142_LinkedListCycleII;

public static class FloydCycleDetection
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Diagnostics.CodeAnalysis;

namespace LeetCode.Challenges.Problems1XX.P142_LinkedListCycleII;

[ExcludeFromCodeCoverage]
public class ListNode(int x)
{
public int Value { get; set; } = x;
public ListNode? Next { get; set; } = null;
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using LeetCode.Challenges.Problems1XX.P142_LinkedListCycle2;
using LeetCode.Challenges.Problems1XX.P142_LinkedListCycleII;
using Shouldly;
using Xunit;

namespace LeetCode.Challenges.UnitTests.Problems1XX.P142_LinkedListCycle2;
namespace LeetCode.Challenges.UnitTests.Problems1XX.P142_LinkedListCycleII;

public class SolutionTests
{
Expand Down

0 comments on commit d0dfc06

Please sign in to comment.