The way u print a matrix in spiral order, same logic u can use to form the matrix from given input PROVIDED the order of matrix is given ....... and this can be done in O(m x n) complexity.......
--Negi --~--~---------~--~----~------------~-------~--~----~ 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-beta.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---
