Just a qestion, how do you sort lexographically ? that is tha approach that we will apply here.. .and yes the approach is flawed. will come with a solution soon..
On Mon, Aug 15, 2011 at 8:42 AM, Dipankar Patro <dip10c...@gmail.com> wrote: > @ Kunal: > oh. zero is making some nice test cases. I will have to reconsider the > solution that I provided. > > > On 15 August 2011 01:53, Yasir <yasir....@gmail.com> wrote: > >> Not Sure! Me too looking for a solution.. :D >> >> So far, Kunal's approach (Convert each string to length max_size where >> you append it circularly) seems to be working fine. :-) >> >> ..and Chengjie's approach should also work, but the interviewer rejected >> this idea saying, he wants a good logic for this. :) >> >> -- >> 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/-/sRTcLi6r_IYJ. >> >> 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. >> > > > > -- > > ___________________________________________________________________________________________________________ > > Please do not print this e-mail until urgent requirement. Go Green!! > Save Papers <=> Save Trees > > -- > 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. > -- Ankur Khurana Computer Science Netaji Subhas Institute Of Technology Delhi. -- 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.