see array is sorted when all zeros occur before 1s in each row.

Now see ur input. My algo will work only for sorted array.

On 8/20/11, rashmi i <rash...@gmail.com> wrote:
> will your solution work for:
> 0001
> 0010
> 0100
> 0110
> 1000
>
>
> On Sun, Aug 21, 2011 at 10:29 AM, sachin sabbarwal <sweetsachin...@gmail.com
>> wrote:
>
>> yes ,your example is sorted.
>>
>> On Sun, Aug 21, 2011 at 10:24 AM, Jagannath Prasad Das
>> <jpdasi...@gmail.com> wrote:
>> > what does sorted row means???????
>> > is it::::
>> > 00011
>> > 01111
>> > 11111
>> > 00000
>> > where each row is sorted or among the rows also?
>> > On Sun, Aug 21, 2011 at 9:51 AM, Sanjay Rajpal <srn...@gmail.com> wrote:
>> >>
>> >> hey see this array is not sorted, I forgot to mention this in my first
>> >> post, but cleared this in subsequent posts that the rows in the array
>> are
>> >> sorted.
>> >>
>> >> Plz see above posts.
>> >> Sanju
>> >> :)
>> >>
>> >>
>> >>
>> >> On Sat, Aug 20, 2011 at 9:05 PM, Abhishek <
>> mailatabhishekgu...@gmail.com>
>> >> wrote:
>> >>>
>> >>> will this solution also work for..
>> >>>
>> >>> 00000000
>> >>> 01000001
>> >>> 10000011
>> >>> 11010100
>> >>> 01001111
>> >>> 10011111
>> >>> 01111111
>> >>> 11111111
>> >>> plz clear your logic bit more..
>> >>>
>> >>> --
>> >>> You received this message because you are subscribed to the Google
>> Groups
>> >>> "Algorithm Geeks" group.
>> >>> To view this discussion on the web visit
>> >>> https://groups.google.com/d/msg/algogeeks/-/A8HrLEBIIF8J.
>> >>> To post to this group, send email to algogeeks@googlegroups.com.
>> >>> To unsubscribe from this group, send email to
>> >>> algogeeks+unsubscr...@googlegroups.com.
>> >>> For more options, visit this group at
>> >>> http://groups.google.com/group/algogeeks?hl=en.
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> Groups
>> >> "Algorithm Geeks" group.
>> >> To post to this group, send email to algogeeks@googlegroups.com.
>> >> To unsubscribe from this group, send email to
>> >> algogeeks+unsubscr...@googlegroups.com.
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/algogeeks?hl=en.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Algorithm Geeks" group.
>> > To post to this group, send email to algogeeks@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > algogeeks+unsubscr...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/algogeeks?hl=en.
>> >
>>
>>
>>
>> --
>> Sachin Sabbarwal
>> Nit Kurukshetra
>> III year
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>
>
> --
> R@$!-!
> "DoN'T LimIt Ur cHaLlEngeS, ChAlLenGe uR LImItS."
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
Sanju
:)

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to