We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b597a commit 937000bCopy full SHA for 937000b
(7 kyu) Form The Largest/(7 kyu) Form The Largest.cs
@@ -0,0 +1,14 @@
1
+using System;
2
+
3
+class Kata
4
+{
5
+ public static int MaxNumber(int n)
6
+ {
7
+ char[] res = n.ToString().ToCharArray();
8
9
+ Array.Sort(res);
10
+ Array.Reverse(res);
11
12
+ return int.Parse(new string(res));
13
+ }
14
+}
README.md
@@ -452,7 +452,7 @@ JS Video Tutorial) :
452
/ [[Python](<(7%20kyu)%20Form%20The%20Largest/(7%20kyu)%20Form%20The%20Largest.py>)]
453
/ [[Rust](<(7%20kyu)%20Form%20The%20Largest/(7%20kyu)%20Form%20The%20Largest.rs>)]
454
/ [[C++](<(7%20kyu)%20Form%20The%20Largest/(7%20kyu)%20Form%20The%20Largest.cpp>)]
455
-/ [C#]
+/ [[C#](<(7%20kyu)%20Form%20The%20Largest/(7%20kyu)%20Form%20The%20Largest.cs>)]
456
/ [Java]
457
/ [Go]
458
<br>
0 commit comments