Skip to content

Commit f9b597a

Browse files
committed
"Form the minumum" in C#
1 parent 544024f commit f9b597a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using System;
2+
using System.Linq;
3+
4+
class Kata
5+
{
6+
public static long MinValue(int[] a)
7+
{
8+
var res = string.Concat(a.OrderBy(x => x).Distinct());
9+
return Convert.ToInt64(res);
10+
}
11+
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ JS Video Tutorial) :
464464
/ [[Python](<(7%20kyu)%20Form%20The%20Minimum/(7%20kyu)%20Form%20The%20Minimum.py>)]
465465
/ [[Rust](<(7%20kyu)%20Form%20The%20Minimum/(7%20kyu)%20Form%20The%20Minimum.rs>)]
466466
/ [[C++](<(7%20kyu)%20Form%20The%20Minimum/(7%20kyu)%20Form%20The%20Minimum.cpp>)]
467-
/ [C#]
467+
/ [[C#](<(7%20kyu)%20Form%20The%20Minimum/(7%20kyu)%20Form%20The%20Minimum.cs>)]
468468
/ [[Java](<(7%20kyu)%20Form%20The%20Minimum/(7%20kyu)%20Form%20The%20Minimum.java>)]
469469
/ [Go]
470470
<br>

0 commit comments

Comments
 (0)