Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > BOOK: Beginning Algorithms
|
BOOK: Beginning Algorithms
This is the forum to discuss the Wrox book Beginning Algorithms by Simon Harris, James Ross ; ISBN: 9780764596742
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Algorithms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2006, 07:26 AM
Authorized User
 
Join Date: Dec 2005
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Algorithm or pseudo code sought for getting the la

Hi I need to write a program in java that lists the latest last modified time among the files in folders and its subfolder and also gets the size of the folder. In my case, average folder size is 9 GB. Could you please suggest any algorithm to achieve this?? I tried to implement it by gathering last modified times from folders and its subfolders recursively and storing the info in Vector and finally
getting the max of the last modified times but it was horribly slow and memory hogging.

http://www.ravishakya.com
__________________
http://www.ravishakya.com
 
Old December 26th, 2006, 09:40 PM
Wrox Author
 
Join Date: Dec 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This isnt really an algorithm question.

Try asking on the Java forum, you may get an answer over there.

Steve Wort
Co Author "Professional SQL Server 2005 Administration"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial text sought jeremy1048 Access 3 June 18th, 2008 11:05 AM
Opinions sought re Captcha image use?? jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 April 9th, 2007 05:52 PM
hover / focus pseudo-class query socoolbrewster CSS Cascading Style Sheets 1 January 22nd, 2007 04:45 PM
LookupAccountSid returns NT Pseudo Domain Yehuda Pro VB 6 0 January 22nd, 2004 09:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.