This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes spiral traversal of mxn matrix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "spiral traversal of mxn matrix" Watch "spiral traversal of mxn matrix" New topic

spiral traversal of mxn matrix

praveen shinde
Ranch Hand

Joined: Jun 03, 2009
Posts: 63
Hello ,
I am trying to solve the problem of spiral traversal of an mxn matrix. Here I have hard coded the values in the for loops.
I wanted to make the code more general. remove the hard coded values in the for loops. Any help is welcome.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: spiral traversal of mxn matrix
It's not a secret anymore!