the time complexity of my approach : O(a*b)^2 and of the other approach, i guess : O(a) , where a is the larger no. correct me if i m wrong
So, complexity wise my approach does not seem to be gud -- 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.