Read line by line . use doublylinkedlist(Queue)/ Circular Buffer of size N. when EOF is achieved print the lines.
On Mon, Mar 4, 2013 at 9:10 AM, Ashish Goel <[email protected]> wrote: > Q1. Given a log file, pirnt last n lines. Note that the Log file is being > written into. > Q2. Implement Circular Buffer. > > > Best Regards > Ashish Goel > "Think positive and find fuel in failure" > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Regards, Sourabh Kumar Jain +91-8971547841 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
