private void insert_sort( int[] s )
{
for( int k = 1; k < s.Length ; k++ )
{
int value = s[k];
for( int i = 0; i <= k - 1; i++ )
{
if( value < s[i] )
{
for( int j = k - 1; j >= i; j-- )
s[j + 1] = s[j];
s[i] = value;
break;
}
}
}
}
An innovative, experienced solutions architect with strong focus on public cloud architecture, solution design and leading technical team. Zhen has 15 years experience designing and implementing a wide spectrum of enterprise level solutions. In the last 4 years, he is committed to evangelising Azure, DevOps and Scrum. His recent focus are enterprise digitisation, cloud governance, reference architecture, IoT, Big Data, Microservices, AWS.
Monday, November 16, 2009
Subscribe to:
Post Comments (Atom)
2 comments:
Great Article
C# Training in Chennai | C# Online Training | ASP.NET Training in Chennai
C# Training in Chennai | Dot Net Training in Chennai | Dot Net Training in Chennai
Thanks for sharing this kind of nice article
Post a Comment