Skip to content

Commit 6c9e279

Browse files
committed
008
1 parent 20f3445 commit 6c9e279

7 files changed

+43
-1
lines changed

Algorithms/ReverseInteger.cs

126 Bytes
Binary file not shown.

Algorithms/StringtoInteger_atoi.cs

134 Bytes
Binary file not shown.

Algorithms/ZigZagConversion.cs

148 Bytes
Binary file not shown.

AlgorithmsTest/ReverseIntegerTest.cs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System.Collections.Generic;
2+
using Algorithms;
3+
using Algorithms.Utils;
4+
using Xunit;
5+
namespace AlgorithmsTest
6+
{
7+
public class ReverseIntegerTest
8+
{
9+
public int Reverse(int x)
10+
{
11+
12+
}
13+
}
14+
}

AlgorithmsTest/StringtoIntegerTest.cs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System.Collections.Generic;
2+
using Algorithms;
3+
using Algorithms.Utils;
4+
using Xunit;
5+
namespace AlgorithmsTest
6+
{
7+
public class StringtoIntegerTest
8+
{
9+
public int MyAtoi(string str)
10+
{
11+
12+
}
13+
}
14+
}
+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using System.Collections.Generic;
2+
using Algorithms;
3+
using Algorithms.Utils;
4+
using Xunit;
5+
namespace AlgorithmsTest
6+
{
7+
public class ZigZagConversionTest
8+
{
9+
public string Convert(string s, int numRows)
10+
{
11+
12+
}
13+
}
14+
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ LeetCode
1414
|005|[Longest Palindromic Substring](https://leetcode.com/problems/longest-palindromic-substring/) | [C#](./Algorithms/LongestPalindromicSubstring.cs)|Medium|
1515
|006|[ZigZag Conversion](https://leetcode.com/problems/zigzag-conversion/) | [C#](./Algorithms/ZigZagConversion.cs)|Easy|
1616
|007|[Reverse Integer](https://leetcode.com/problems/reverse-integer/) | [C#](./Algorithms/ReverseInteger.cs)|Easy|
17-
|008|[String to Integer _atoi](https://leetcode.com/problems/string-to-integer-atoi/) | [C#](./Algorithms/StringtoInteger_atoi.cs)|Easy|
17+
|008|[String to Integer (atoi)](https://leetcode.com/problems/string-to-integer-atoi/) | [C#](./Algorithms/StringtoInteger_atoi.cs)|Easy|

0 commit comments

Comments
 (0)