Skip to content

Commit

Permalink
[DRAFT]. Solve LeetCode #74 'Search a 2D Matrix' [Medium].
Browse files Browse the repository at this point in the history
  • Loading branch information
eminencegrs committed Nov 9, 2024
1 parent 589e639 commit d55636a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace LeetCode.Challenges.Problems0XX.P074_Search2DMatrix;

public static class Solution
{
public static bool SearchMatrix(int[][] matrix, int target)
{
// TODO: implement.

throw new NotImplementedException();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using FluentAssertions;
using LeetCode.Challenges.Problems0XX.P074_Search2DMatrix;
using Shouldly;
using Xunit;

namespace LeetCode.Challenges.UnitTests.Problems0XX.P074_Search2DMatrix;

public class SolutionTests
{
[Fact]
public void Given_When_Then()
{
var action = () => Solution.SearchMatrix([[1, 2], [3, 4], [5, 6]], 4);
action.Should().Throw<NotImplementedException>();
}
}

0 comments on commit d55636a

Please sign in to comment.