i m taking 1st array as 7 6 5 4 & 2nd as 7 5 43 and merging them
by merge sort so k[]={7,7,6,5,5,4,4,3}
then 1st as 4 3 3 & 2nd as 4 3 2 ""
l[]=4,4,3,3,3,2
den
m=[2,2,1]
finally merging k , l , m hmm well it went
to0 long
while just a thought we hav diagonal element some common feature
,,,,,,,,,,,,,,,,,,,,,,, wait will come with a good soln ,,,,,, right now
exams so
On Mon, Feb 7, 2011 at 11:25 PM, jalaj jaiswal <[email protected]>wrote:
> can you explain what are you doing ... take this array for example and tell
> how are you printing the sorted output
>
> 0 1 2 3
> 2 2 3 4
> 3 3 4 5
> 4 5 6 7
>
>
> On Mon, Feb 7, 2011 at 10:27 PM, arpit busy in novels <
> [email protected]> wrote:
>
>> hey jalaj ,
>>
>>
>> i just wanna say can be 2 test cases
>> 2 4 8
>>
>> 6 7 9
>>
>> 7 8 10 where a[n,n] is big
>>
>>
>>
>> or 12 11 10
>> 9 8 7
>> 6 5 4 where a[0,0] is biggest
>> if u didnt consider increment & decrement order sorting in same
>> array
>>
>>
>> either like R U confused abt my soln
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> With Regards,
> *Jalaj Jaiswal* (+919019947895)
> Software developer, Cisco Systems
> Final Year Undergraduate,
> IIIT ALLAHABAD
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
--
Arpit Bhatnagar
(MNIT JAIPUR)
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.