1. Go to the end of the file.
2. Make a stack.
3. Read a block from the end - put them into a chararray[].
4. Split the charray by "\n"  into strings[]
5. going through the strings[] backwards - put each string into the
stack. 
6. repeat 3-5 until stack.size=n
7. empty the stack


--~--~---------~--~----~------------~-------~--~----~
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.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to