using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static int w=0; public int psrt(int[]ar,int l,int r,int c ) { int i=r; int pivot=ar[r]; int z=ar[r]; int y=0; int r1=0; for(int j=r-1;j>=0;j--) { if(w==c) { r1=1; break; } if(ar[j](len*(len-1))/2) { a=-1; Console.WriteLine(a); } else { for(int i=0;i=0;i--) Console.Write(ar[i]+" "); Console.WriteLine(); } } } }