Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
use for loop and compare a digit
condition:array[i]<array[i-1]
note :this sort only one time
solution:use while loop outside
sort method first convert into string than it short like
1122 is less than 25 because it only compare first
Use it properly. Read the documentation of your language. Also read this: https://docs.codewars.com/training/troubleshooting/
^
is the operator for a bitwise XOR.In fact, C# doesn't have an operator for exponentiation :)
You forgot
using System;
to useMath.Pow